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

Side by Side Diff: chrome/browser/android/chrome_feature_list.cc

Issue 2781603002: [Content suggestions] Add a feature to fetch favicons from a new server (Closed)
Patch Set: Add histogram.xml LoginCustomFlags entries 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 | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.h » ('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 #include "chrome/browser/android/chrome_feature_list.h" 5 #include "chrome/browser/android/chrome_feature_list.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 &kSpecialLocaleWrapper, 68 &kSpecialLocaleWrapper,
69 &kTabsInCBD, 69 &kTabsInCBD,
70 &kTabReparenting, 70 &kTabReparenting,
71 &kUploadCrashReportsUsingJobScheduler, 71 &kUploadCrashReportsUsingJobScheduler,
72 &kWebPaymentsModifiers, 72 &kWebPaymentsModifiers,
73 &kWebPaymentsSingleAppUiSkip, 73 &kWebPaymentsSingleAppUiSkip,
74 &kWebVRCardboardSupport, 74 &kWebVRCardboardSupport,
75 &ntp_snippets::kIncreasedVisibility, 75 &ntp_snippets::kIncreasedVisibility,
76 &ntp_snippets::kForeignSessionsSuggestionsFeature, 76 &ntp_snippets::kForeignSessionsSuggestionsFeature,
77 &ntp_snippets::kOfflineBadgeFeature, 77 &ntp_snippets::kOfflineBadgeFeature,
78 &ntp_snippets::kPublisherFaviconsFromNewServerFeature,
78 &ntp_snippets::kSaveToOfflineFeature, 79 &ntp_snippets::kSaveToOfflineFeature,
79 &offline_pages::kBackgroundLoaderForDownloadsFeature, 80 &offline_pages::kBackgroundLoaderForDownloadsFeature,
80 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. 81 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421.
81 &offline_pages::kOfflinePagesSharingFeature, 82 &offline_pages::kOfflinePagesSharingFeature,
82 &password_manager::features::kViewPasswords, 83 &password_manager::features::kViewPasswords,
83 }; 84 };
84 85
85 const base::Feature* FindFeatureExposedToJava(const std::string& feature_name) { 86 const base::Feature* FindFeatureExposedToJava(const std::string& feature_name) {
86 for (size_t i = 0; i < arraysize(kFeaturesExposedToJava); ++i) { 87 for (size_t i = 0; i < arraysize(kFeaturesExposedToJava); ++i) {
87 if (kFeaturesExposedToJava[i]->name == feature_name) 88 if (kFeaturesExposedToJava[i]->name == feature_name)
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, 255 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name,
255 jdefault_value); 256 jdefault_value);
256 } 257 }
257 258
258 bool RegisterChromeFeatureListJni(JNIEnv* env) { 259 bool RegisterChromeFeatureListJni(JNIEnv* env) {
259 return RegisterNativesImpl(env); 260 return RegisterNativesImpl(env);
260 } 261 }
261 262
262 } // namespace android 263 } // namespace android
263 } // namespace chrome 264 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698