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

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

Issue 2092723002: Redirect users without sync passphrase to passwords.google.com (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify redirect test to verify sync settings Created 4 years, 5 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
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
11 #include "base/android/jni_string.h" 11 #include "base/android/jni_string.h"
12 #include "base/feature_list.h" 12 #include "base/feature_list.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "chrome/common/chrome_features.h" 14 #include "chrome/common/chrome_features.h"
15 #include "components/offline_pages/offline_page_feature.h" 15 #include "components/offline_pages/offline_page_feature.h"
16 #include "components/password_manager/core/common/password_manager_features.h"
16 #include "content/public/common/content_features.h" 17 #include "content/public/common/content_features.h"
17 #include "jni/ChromeFeatureList_jni.h" 18 #include "jni/ChromeFeatureList_jni.h"
18 19
19 using base::android::ConvertJavaStringToUTF8; 20 using base::android::ConvertJavaStringToUTF8;
20 21
21 namespace chrome { 22 namespace chrome {
22 namespace android { 23 namespace android {
23 24
24 namespace { 25 namespace {
25 26
(...skipping 11 matching lines...) Expand all
37 &kNTPOfflinePagesFeature, 38 &kNTPOfflinePagesFeature,
38 &kNTPOfflinePageSuggestionsFeature, 39 &kNTPOfflinePageSuggestionsFeature,
39 &kNTPSnippetsFeature, 40 &kNTPSnippetsFeature,
40 &kNTPToolbarFeature, 41 &kNTPToolbarFeature,
41 &kPhysicalWebFeature, 42 &kPhysicalWebFeature,
42 &kPhysicalWebIgnoreOtherClientsFeature, 43 &kPhysicalWebIgnoreOtherClientsFeature,
43 &kReadItLaterInMenu, 44 &kReadItLaterInMenu,
44 &kSystemDownloadManager, 45 &kSystemDownloadManager,
45 &offline_pages::kOfflinePagesBackgroundLoadingFeature, 46 &offline_pages::kOfflinePagesBackgroundLoadingFeature,
46 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. 47 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421.
48 &password_manager::features::kViewPasswords,
47 }; 49 };
48 50
49 } // namespace 51 } // namespace
50 52
51 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", 53 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD",
52 base::FEATURE_DISABLED_BY_DEFAULT}; 54 base::FEATURE_DISABLED_BY_DEFAULT};
53 55
54 const base::Feature kNTPMaterialDesign{"NTPMaterialDesign", 56 const base::Feature kNTPMaterialDesign{"NTPMaterialDesign",
55 base::FEATURE_ENABLED_BY_DEFAULT}; 57 base::FEATURE_ENABLED_BY_DEFAULT};
56 58
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 NOTREACHED(); 98 NOTREACHED();
97 return false; 99 return false;
98 } 100 }
99 101
100 bool RegisterChromeFeatureListJni(JNIEnv* env) { 102 bool RegisterChromeFeatureListJni(JNIEnv* env) {
101 return RegisterNativesImpl(env); 103 return RegisterNativesImpl(env);
102 } 104 }
103 105
104 } // namespace android 106 } // namespace android
105 } // namespace chrome 107 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698