dom/camera/GonkRecorderProfiles.def

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 /*
michael@0 2 * Copyright (C) 2012 Mozilla Foundation
michael@0 3 *
michael@0 4 * Licensed under the Apache License, Version 2.0 (the "License");
michael@0 5 * you may not use this file except in compliance with the License.
michael@0 6 * You may obtain a copy of the License at
michael@0 7 *
michael@0 8 * http://www.apache.org/licenses/LICENSE-2.0
michael@0 9 *
michael@0 10 * Unless required by applicable law or agreed to in writing, software
michael@0 11 * distributed under the License is distributed on an "AS IS" BASIS,
michael@0 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
michael@0 13 * See the License for the specific language governing permissions and
michael@0 14 * limitations under the License.
michael@0 15 */
michael@0 16
michael@0 17 /**
michael@0 18 * DO NOT PUT RE-INCLUSION GUARD MACROS AROUND THIS HEADER!!!
michael@0 19 */
michael@0 20
michael@0 21 DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_LOW, "low")
michael@0 22 DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_HIGH, "high")
michael@0 23 DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_QCIF, "qcif")
michael@0 24 DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_CIF, "cif")
michael@0 25 DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_480P, "480p")
michael@0 26 DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_720P, "720p")
michael@0 27 DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_1080P, "1080p")
michael@0 28 /**
michael@0 29 * This profile is disabled because the CAMCORDER_QUALITY_QVGA value
michael@0 30 * conflicts across AOSP and vendor-specific versions of MediaProfiles.h.
michael@0 31 *
michael@0 32 * See bug 804359.
michael@0 33 */
michael@0 34 // DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_QVGA, "qvga")
michael@0 35 /**
michael@0 36 * The following profiles do not appear in the AOSP version of
michael@0 37 * MediaProfiles.h and are disabled.
michael@0 38 *
michael@0 39 * See bug 804359.
michael@0 40 */
michael@0 41 // DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_FWVGA, "fwvga")
michael@0 42 // DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_WVGA, "wvga")
michael@0 43 // DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_VGA, "vga")
michael@0 44 // DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_WQVGA, "wqvga")
michael@0 45 #undef DEF_GONK_RECORDER_PROFILE

mercurial