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

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

Issue 1915773002: Add switches to enable the unified permission manager on Android. Base URL: https://chromium.googlesource.com/chromium/src.git@permission-request
Patch Set: Created 4 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/common/chrome_switches.h ('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 (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 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 const char kTabManagementExperimentTypeAnise[] = 1284 const char kTabManagementExperimentTypeAnise[] =
1285 "tab-management-experiment-type-anise"; 1285 "tab-management-experiment-type-anise";
1286 const char kTabManagementExperimentTypeBasil[] = 1286 const char kTabManagementExperimentTypeBasil[] =
1287 "tab-management-experiment-type-basil"; 1287 "tab-management-experiment-type-basil";
1288 const char kTabManagementExperimentTypeChive[] = 1288 const char kTabManagementExperimentTypeChive[] =
1289 "tab-management-experiment-type-chive"; 1289 "tab-management-experiment-type-chive";
1290 const char kTabManagementExperimentTypeDill[] = 1290 const char kTabManagementExperimentTypeDill[] =
1291 "tab-management-experiment-type-dill"; 1291 "tab-management-experiment-type-dill";
1292 const char kTabManagementExperimentTypeElderberry[] = 1292 const char kTabManagementExperimentTypeElderberry[] =
1293 "tab-management-experiment-type-elderberry"; 1293 "tab-management-experiment-type-elderberry";
1294
1295 // Sets to use the same permission manager on Android and desktop platforms.
1296 const char kEnableUnifiedPermissionManager[] =
1297 "enable-unified-permission-manager";
1294 #endif // defined(OS_ANDROID) 1298 #endif // defined(OS_ANDROID)
1295 1299
1296 #if defined(OS_WIN) || defined(OS_LINUX) 1300 #if defined(OS_WIN) || defined(OS_LINUX)
1297 extern const char kEnableInputImeAPI[] = "enable-input-ime-api"; 1301 extern const char kEnableInputImeAPI[] = "enable-input-ime-api";
1298 extern const char kDisableInputImeAPI[] = "disable-input-ime-api"; 1302 extern const char kDisableInputImeAPI[] = "disable-input-ime-api";
1299 #endif 1303 #endif
1300 1304
1301 bool AboutInSettingsEnabled() { 1305 bool AboutInSettingsEnabled() {
1302 return SettingsWindowEnabled() && 1306 return SettingsWindowEnabled() &&
1303 !base::CommandLine::ForCurrentProcess()->HasSwitch( 1307 !base::CommandLine::ForCurrentProcess()->HasSwitch(
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 1348
1345 // ----------------------------------------------------------------------------- 1349 // -----------------------------------------------------------------------------
1346 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1350 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1347 // 1351 //
1348 // You were going to just dump your switches here, weren't you? Instead, please 1352 // You were going to just dump your switches here, weren't you? Instead, please
1349 // put them in alphabetical order above, or in order inside the appropriate 1353 // put them in alphabetical order above, or in order inside the appropriate
1350 // ifdef at the bottom. The order should match the header. 1354 // ifdef at the bottom. The order should match the header.
1351 // ----------------------------------------------------------------------------- 1355 // -----------------------------------------------------------------------------
1352 1356
1353 } // namespace switches 1357 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698