OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.chrome.browser; | 5 package org.chromium.chrome.browser; |
6 | 6 |
7 import org.chromium.base.VisibleForTesting; | 7 import org.chromium.base.VisibleForTesting; |
8 import org.chromium.base.annotations.JNINamespace; | 8 import org.chromium.base.annotations.JNINamespace; |
9 import org.chromium.base.annotations.MainDex; | 9 import org.chromium.base.annotations.MainDex; |
10 import org.chromium.base.library_loader.LibraryLoader; | 10 import org.chromium.base.library_loader.LibraryLoader; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 String featureName, String paramName, boolean defaultValue) { | 139 String featureName, String paramName, boolean defaultValue) { |
140 assert isInitialized(); | 140 assert isInitialized(); |
141 return nativeGetFieldTrialParamByFeatureAsBoolean(featureName, paramName
, defaultValue); | 141 return nativeGetFieldTrialParamByFeatureAsBoolean(featureName, paramName
, defaultValue); |
142 } | 142 } |
143 | 143 |
144 // Alphabetical: | 144 // Alphabetical: |
145 public static final String ANDROID_PAY_INTEGRATION_V1 = "AndroidPayIntegrati
onV1"; | 145 public static final String ANDROID_PAY_INTEGRATION_V1 = "AndroidPayIntegrati
onV1"; |
146 public static final String ANDROID_PAY_INTEGRATION_V2 = "AndroidPayIntegrati
onV2"; | 146 public static final String ANDROID_PAY_INTEGRATION_V2 = "AndroidPayIntegrati
onV2"; |
147 public static final String ANDROID_PAYMENT_APPS = "AndroidPaymentApps"; | 147 public static final String ANDROID_PAYMENT_APPS = "AndroidPaymentApps"; |
148 public static final String AUTOFILL_SCAN_CARDHOLDER_NAME = "AutofillScanCard
holderName"; | 148 public static final String AUTOFILL_SCAN_CARDHOLDER_NAME = "AutofillScanCard
holderName"; |
| 149 public static final String CCT_BACKGROUND_TAB = "CCTBackgroundTab"; |
149 public static final String CCT_EXTERNAL_LINK_HANDLING = "CCTExternalLinkHand
ling"; | 150 public static final String CCT_EXTERNAL_LINK_HANDLING = "CCTExternalLinkHand
ling"; |
150 public static final String CCT_POST_MESSAGE_API = "CCTPostMessageAPI"; | 151 public static final String CCT_POST_MESSAGE_API = "CCTPostMessageAPI"; |
151 public static final String CHROME_HOME = "ChromeHome"; | 152 public static final String CHROME_HOME = "ChromeHome"; |
152 public static final String CONSISTENT_OMNIBOX_GEOLOCATION = "ConsistentOmnib
oxGeolocation"; | 153 public static final String CONSISTENT_OMNIBOX_GEOLOCATION = "ConsistentOmnib
oxGeolocation"; |
153 public static final String CONTENT_SUGGESTIONS_FAVICONS_FROM_NEW_SERVER = | 154 public static final String CONTENT_SUGGESTIONS_FAVICONS_FROM_NEW_SERVER = |
154 "ContentSuggestionsFaviconsFromNewServer"; | 155 "ContentSuggestionsFaviconsFromNewServer"; |
155 public static final String CONTENT_SUGGESTIONS_NOTIFICATIONS = | 156 public static final String CONTENT_SUGGESTIONS_NOTIFICATIONS = |
156 "ContentSuggestionsNotifications"; | 157 "ContentSuggestionsNotifications"; |
157 public static final String CONTENT_SUGGESTIONS_SETTINGS = "ContentSuggestion
sSettings"; | 158 public static final String CONTENT_SUGGESTIONS_SETTINGS = "ContentSuggestion
sSettings"; |
158 public static final String CONTEXTUAL_SEARCH_SINGLE_ACTIONS = "ContextualSea
rchSingleActions"; | 159 public static final String CONTEXTUAL_SEARCH_SINGLE_ACTIONS = "ContextualSea
rchSingleActions"; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 private static native boolean nativeIsEnabled(String featureName); | 196 private static native boolean nativeIsEnabled(String featureName); |
196 private static native String nativeGetFieldTrialParamByFeature( | 197 private static native String nativeGetFieldTrialParamByFeature( |
197 String featureName, String paramName); | 198 String featureName, String paramName); |
198 private static native int nativeGetFieldTrialParamByFeatureAsInt( | 199 private static native int nativeGetFieldTrialParamByFeatureAsInt( |
199 String featureName, String paramName, int defaultValue); | 200 String featureName, String paramName, int defaultValue); |
200 private static native double nativeGetFieldTrialParamByFeatureAsDouble( | 201 private static native double nativeGetFieldTrialParamByFeatureAsDouble( |
201 String featureName, String paramName, double defaultValue); | 202 String featureName, String paramName, double defaultValue); |
202 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean( | 203 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean( |
203 String featureName, String paramName, boolean defaultValue); | 204 String featureName, String paramName, boolean defaultValue); |
204 } | 205 } |
OLD | NEW |