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

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

Issue 8849010: Add 'web_accessible_resource" keyword for version 2 extension manifests. This makes extension res... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 const char kDisableDhcpWpad[] = "disable-dhcp-wpad"; 266 const char kDisableDhcpWpad[] = "disable-dhcp-wpad";
267 267
268 // Disable extensions. 268 // Disable extensions.
269 const char kDisableExtensions[] = "disable-extensions"; 269 const char kDisableExtensions[] = "disable-extensions";
270 270
271 // Disable checking for user opt-in for extensions that want to inject script 271 // Disable checking for user opt-in for extensions that want to inject script
272 // into file URLs (ie, always allow it). This is used during automated testing. 272 // into file URLs (ie, always allow it). This is used during automated testing.
273 const char kDisableExtensionsFileAccessCheck[] = 273 const char kDisableExtensionsFileAccessCheck[] =
274 "disable-extensions-file-access-check"; 274 "disable-extensions-file-access-check";
275 275
276 const char kDisableExtensionsResourceWhitelist[] =
Aaron Boodman 2011/12/20 21:12:58 Perhaps a brief description of what the 'extension
Cris Neckar 2011/12/20 22:00:06 Done.
277 "disable-extensions-resource-whitelist";
278
276 // Disables the sandbox for the built-in flash player. 279 // Disables the sandbox for the built-in flash player.
277 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; 280 const char kDisableFlashSandbox[] = "disable-flash-sandbox";
278 281
279 // Disable the use of the HistoryQuickProvider for autocomplete results. 282 // Disable the use of the HistoryQuickProvider for autocomplete results.
280 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider"; 283 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider";
281 284
282 // Disable the use of the HistoryURLProvider for autocomplete results. 285 // Disable the use of the HistoryURLProvider for autocomplete results.
283 const char kDisableHistoryURLProvider[] = "disable-history-url-provider"; 286 const char kDisableHistoryURLProvider[] = "disable-history-url-provider";
284 287
285 // Disables improved SafeBrowsing download protection. 288 // Disables improved SafeBrowsing download protection.
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 1350
1348 // ----------------------------------------------------------------------------- 1351 // -----------------------------------------------------------------------------
1349 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1352 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1350 // 1353 //
1351 // You were going to just dump your switches here, weren't you? Instead, please 1354 // You were going to just dump your switches here, weren't you? Instead, please
1352 // put them in alphabetical order above, or in order inside the appropriate 1355 // put them in alphabetical order above, or in order inside the appropriate
1353 // ifdef at the bottom. The order should match the header. 1356 // ifdef at the bottom. The order should match the header.
1354 // ----------------------------------------------------------------------------- 1357 // -----------------------------------------------------------------------------
1355 1358
1356 } // namespace switches 1359 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698