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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 1692693003: add a flag to enable/disable download interception on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: allow server trial to be overriden Created 4 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 1117
1118 // Specifies Android phone page loading progress bar animation. 1118 // Specifies Android phone page loading progress bar animation.
1119 const char kProgressBarAnimation[] = "progress-bar-animation"; 1119 const char kProgressBarAnimation[] = "progress-bar-animation";
1120 1120
1121 // Enabled tab switcher in document mode. 1121 // Enabled tab switcher in document mode.
1122 const char kEnableTabSwitcherInDocumentMode[] = 1122 const char kEnableTabSwitcherInDocumentMode[] =
1123 "enable-tab-switcher-in-document-mode"; 1123 "enable-tab-switcher-in-document-mode";
1124 1124
1125 // Switch to an existing tab for a suggestion opened from the New Tab Page. 1125 // Switch to an existing tab for a suggestion opened from the New Tab Page.
1126 const char kNtpSwitchToExistingTab[] = "ntp-switch-to-existing-tab"; 1126 const char kNtpSwitchToExistingTab[] = "ntp-switch-to-existing-tab";
1127
1128 // Enables android DownloadManager to intercept downloads.
svaldez 2016/02/12 15:21:19 nit: Enables Android
qinmin 2016/02/12 17:27:00 Done.
1129 const char kEnableDownloadInterception[] = "enable-download-interception";
1130
1131 // Disables android DownloadManager to intercept downloads.
svaldez 2016/02/12 15:21:20 same
qinmin 2016/02/12 17:27:00 Done.
1132 const char kDisableDownloadInterception[] = "disable-download-interception";
1127 #endif // defined(OS_ANDROID) 1133 #endif // defined(OS_ANDROID)
1128 1134
1129 #if defined(USE_ASH) 1135 #if defined(USE_ASH)
1130 const char kOpenAsh[] = "open-ash"; 1136 const char kOpenAsh[] = "open-ash";
1131 #endif 1137 #endif
1132 1138
1133 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) 1139 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
1134 // These flags show the man page on Linux. They are equivalent to each 1140 // These flags show the man page on Linux. They are equivalent to each
1135 // other. 1141 // other.
1136 const char kHelp[] = "help"; 1142 const char kHelp[] = "help";
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 1390
1385 // ----------------------------------------------------------------------------- 1391 // -----------------------------------------------------------------------------
1386 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1392 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1387 // 1393 //
1388 // You were going to just dump your switches here, weren't you? Instead, please 1394 // You were going to just dump your switches here, weren't you? Instead, please
1389 // put them in alphabetical order above, or in order inside the appropriate 1395 // put them in alphabetical order above, or in order inside the appropriate
1390 // ifdef at the bottom. The order should match the header. 1396 // ifdef at the bottom. The order should match the header.
1391 // ----------------------------------------------------------------------------- 1397 // -----------------------------------------------------------------------------
1392 1398
1393 } // namespace switches 1399 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698