Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java

Issue 2781603002: [Content suggestions] Add a feature to fetch favicons from a new server (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 public static final String NTP_CONDENSED_LAYOUT = "NTPCondensedLayout"; 137 public static final String NTP_CONDENSED_LAYOUT = "NTPCondensedLayout";
138 public static final String NTP_CONDENSED_TILE_LAYOUT = "NTPCondensedTileLayo ut"; 138 public static final String NTP_CONDENSED_TILE_LAYOUT = "NTPCondensedTileLayo ut";
139 public static final String NTP_FAKE_OMNIBOX_TEXT = "NTPFakeOmniboxText"; 139 public static final String NTP_FAKE_OMNIBOX_TEXT = "NTPFakeOmniboxText";
140 public static final String NTP_FOREIGN_SESSIONS_SUGGESTIONS = "NTPForeignSes sionsSuggestions"; 140 public static final String NTP_FOREIGN_SESSIONS_SUGGESTIONS = "NTPForeignSes sionsSuggestions";
141 public static final String NTP_LAUNCH_AFTER_INACTIVITY = "NTPLaunchAfterInac tivity"; 141 public static final String NTP_LAUNCH_AFTER_INACTIVITY = "NTPLaunchAfterInac tivity";
142 public static final String NTP_OFFLINE_PAGES_FEATURE_NAME = "NTPOfflinePages "; 142 public static final String NTP_OFFLINE_PAGES_FEATURE_NAME = "NTPOfflinePages ";
143 public static final String NTP_SHOW_GOOGLE_G_IN_OMNIBOX = "NTPShowGoogleGInO mnibox"; 143 public static final String NTP_SHOW_GOOGLE_G_IN_OMNIBOX = "NTPShowGoogleGInO mnibox";
144 public static final String NTP_SNIPPETS_INCREASED_VISIBILITY = "NTPSnippetsI ncreasedVisibility"; 144 public static final String NTP_SNIPPETS_INCREASED_VISIBILITY = "NTPSnippetsI ncreasedVisibility";
145 public static final String NTP_SNIPPETS_SAVE_TO_OFFLINE = "NTPSaveToOffline" ; 145 public static final String NTP_SNIPPETS_SAVE_TO_OFFLINE = "NTPSaveToOffline" ;
146 public static final String NTP_SNIPPETS_OFFLINE_BADGE = "NTPOfflineBadge"; 146 public static final String NTP_SNIPPETS_OFFLINE_BADGE = "NTPOfflineBadge";
147 public static final String NTP_SNIPPETS_PUBLISHER_FAVICONS_FROM_NEW_SERVER =
148 "ContentSuggestionsFaviconsFromNewServer";
Bernhard Bauer 2017/03/28 11:25:18 Can we make the name and value of this feature con
jkrcal 2017/03/28 12:05:08 Done.
147 public static final String SERVICE_WORKER_PAYMENT_APPS = "ServiceWorkerPayme ntApps"; 149 public static final String SERVICE_WORKER_PAYMENT_APPS = "ServiceWorkerPayme ntApps";
148 public static final String TAB_REPARENTING = "TabReparenting"; 150 public static final String TAB_REPARENTING = "TabReparenting";
149 public static final String UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER = 151 public static final String UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER =
150 "UploadCrashReportsUsingJobScheduler"; 152 "UploadCrashReportsUsingJobScheduler";
151 public static final String VR_SHELL = "VrShell"; 153 public static final String VR_SHELL = "VrShell";
152 public static final String WEB_PAYMENTS = "WebPayments"; 154 public static final String WEB_PAYMENTS = "WebPayments";
153 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers"; 155 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers";
154 public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSin gleAppUiSkip"; 156 public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSin gleAppUiSkip";
155 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ; 157 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ;
156 158
157 private static native boolean nativeIsEnabled(String featureName); 159 private static native boolean nativeIsEnabled(String featureName);
158 private static native String nativeGetFieldTrialParamByFeature( 160 private static native String nativeGetFieldTrialParamByFeature(
159 String featureName, String paramName); 161 String featureName, String paramName);
160 private static native int nativeGetFieldTrialParamByFeatureAsInt( 162 private static native int nativeGetFieldTrialParamByFeatureAsInt(
161 String featureName, String paramName, int defaultValue); 163 String featureName, String paramName, int defaultValue);
162 private static native double nativeGetFieldTrialParamByFeatureAsDouble( 164 private static native double nativeGetFieldTrialParamByFeatureAsDouble(
163 String featureName, String paramName, double defaultValue); 165 String featureName, String paramName, double defaultValue);
164 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean( 166 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean(
165 String featureName, String paramName, boolean defaultValue); 167 String featureName, String paramName, boolean defaultValue);
166 } 168 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698