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

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

Issue 2026953002: Disable external navigation for file downloads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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/android/javatests/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandlerTest.java ('k') | no next file » | 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 19 matching lines...) Expand all
30 &features::kCredentialManagementAPI, 30 &features::kCredentialManagementAPI,
31 &features::kSimplifiedFullscreenUI, 31 &features::kSimplifiedFullscreenUI,
32 &kImportantSitesInCBD, 32 &kImportantSitesInCBD,
33 &kMediaStyleNotification, 33 &kMediaStyleNotification,
34 &kNTPFakeOmniboxTextFeature, 34 &kNTPFakeOmniboxTextFeature,
35 &kNTPMaterialDesign, 35 &kNTPMaterialDesign,
36 &kNTPOfflinePagesFeature, 36 &kNTPOfflinePagesFeature,
37 &kNTPSnippetsFeature, 37 &kNTPSnippetsFeature,
38 &kNTPToolbarFeature, 38 &kNTPToolbarFeature,
39 &kPhysicalWebFeature, 39 &kPhysicalWebFeature,
40 &kSystemDownloadManager,
40 &offline_pages::kOfflinePagesBackgroundLoadingFeature, 41 &offline_pages::kOfflinePagesBackgroundLoadingFeature,
41 }; 42 };
42 43
43 } // namespace 44 } // namespace
44 45
45 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", 46 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD",
46 base::FEATURE_DISABLED_BY_DEFAULT}; 47 base::FEATURE_DISABLED_BY_DEFAULT};
47 48
48 const base::Feature kMediaStyleNotification { 49 const base::Feature kMediaStyleNotification {
49 "MediaStyleNotification", base::FEATURE_ENABLED_BY_DEFAULT 50 "MediaStyleNotification", base::FEATURE_ENABLED_BY_DEFAULT
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 NOTREACHED(); 89 NOTREACHED();
89 return false; 90 return false;
90 } 91 }
91 92
92 bool RegisterChromeFeatureListJni(JNIEnv* env) { 93 bool RegisterChromeFeatureListJni(JNIEnv* env) {
93 return RegisterNativesImpl(env); 94 return RegisterNativesImpl(env);
94 } 95 }
95 96
96 } // namespace android 97 } // namespace android
97 } // namespace chrome 98 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandlerTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698