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

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

Issue 10185003: Remove net-internals page for throttling, introduce flag for extension devs instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix JavaScript presubmit. Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | 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 9
10 namespace switches { 10 namespace switches {
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; 286 const char kDisableDhcpWpad[] = "disable-dhcp-wpad";
287 287
288 // Disable extensions. 288 // Disable extensions.
289 const char kDisableExtensions[] = "disable-extensions"; 289 const char kDisableExtensions[] = "disable-extensions";
290 290
291 // Disable checking for user opt-in for extensions that want to inject script 291 // Disable checking for user opt-in for extensions that want to inject script
292 // into file URLs (ie, always allow it). This is used during automated testing. 292 // into file URLs (ie, always allow it). This is used during automated testing.
293 const char kDisableExtensionsFileAccessCheck[] = 293 const char kDisableExtensionsFileAccessCheck[] =
294 "disable-extensions-file-access-check"; 294 "disable-extensions-file-access-check";
295 295
296 // Disable the net::URLRequestThrottlerManager functionality for
297 // requests originating from extensions.
298 const char kDisableExtensionsHttpThrottling[] =
299 "disable-extensions-http-throttling";
300
296 // Disable mandatory enforcement of web_accessible_resources in extensions. 301 // Disable mandatory enforcement of web_accessible_resources in extensions.
297 const char kDisableExtensionsResourceWhitelist[] = 302 const char kDisableExtensionsResourceWhitelist[] =
298 "disable-extensions-resource-whitelist"; 303 "disable-extensions-resource-whitelist";
299 304
300 // Disables the sandbox for the built-in flash player. 305 // Disables the sandbox for the built-in flash player.
301 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; 306 const char kDisableFlashSandbox[] = "disable-flash-sandbox";
302 307
303 // Disable the use of the HistoryQuickProvider for autocomplete results. 308 // Disable the use of the HistoryQuickProvider for autocomplete results.
304 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider"; 309 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider";
305 310
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1409 1414
1410 // ----------------------------------------------------------------------------- 1415 // -----------------------------------------------------------------------------
1411 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1416 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1412 // 1417 //
1413 // You were going to just dump your switches here, weren't you? Instead, please 1418 // You were going to just dump your switches here, weren't you? Instead, please
1414 // put them in alphabetical order above, or in order inside the appropriate 1419 // put them in alphabetical order above, or in order inside the appropriate
1415 // ifdef at the bottom. The order should match the header. 1420 // ifdef at the bottom. The order should match the header.
1416 // ----------------------------------------------------------------------------- 1421 // -----------------------------------------------------------------------------
1417 1422
1418 } // namespace switches 1423 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698