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

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

Issue 2475213002: Update the Google Search geolocation disclosure to make it more obvious. (Closed)
Patch Set: Feedback Created 4 years, 1 month 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
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 15 matching lines...) Expand all
26 namespace android { 26 namespace android {
27 27
28 namespace { 28 namespace {
29 29
30 // Array of features exposed through the Java ChromeFeatureList API. Entries in 30 // Array of features exposed through the Java ChromeFeatureList API. Entries in
31 // this array may either refer to features defined in the header of this file or 31 // this array may either refer to features defined in the header of this file or
32 // in other locations in the code base (e.g. chrome/, components/, etc). 32 // in other locations in the code base (e.g. chrome/, components/, etc).
33 const base::Feature* kFeaturesExposedToJava[] = { 33 const base::Feature* kFeaturesExposedToJava[] = {
34 &autofill::kAutofillScanCardholderName, 34 &autofill::kAutofillScanCardholderName,
35 &features::kAutoplayMutedVideos, 35 &features::kAutoplayMutedVideos,
36 &features::kConsistentOmniboxGeolocation,
36 &features::kCredentialManagementAPI, 37 &features::kCredentialManagementAPI,
37 &features::kSimplifiedFullscreenUI, 38 &features::kSimplifiedFullscreenUI,
38 &features::kWebPayments, 39 &features::kWebPayments,
39 &kAndroidPayIntegrationV1, 40 &kAndroidPayIntegrationV1,
40 &kCCTExternalLinkHandling, 41 &kCCTExternalLinkHandling,
41 &kChromeHomeFeature, 42 &kChromeHomeFeature,
42 &kContextualSearchSingleActions, 43 &kContextualSearchSingleActions,
43 &kDownloadsUiFeature, 44 &kDownloadsUiFeature,
44 &kImportantSitesInCBD, 45 &kImportantSitesInCBD,
45 &kNoCreditCardAbort, 46 &kNoCreditCardAbort,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 NOTREACHED(); 127 NOTREACHED();
127 return false; 128 return false;
128 } 129 }
129 130
130 bool RegisterChromeFeatureListJni(JNIEnv* env) { 131 bool RegisterChromeFeatureListJni(JNIEnv* env) {
131 return RegisterNativesImpl(env); 132 return RegisterNativesImpl(env);
132 } 133 }
133 134
134 } // namespace android 135 } // namespace android
135 } // namespace chrome 136 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/search_geolocation_disclosure_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698