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

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

Issue 1007443004: Plugin Power Saver: Replace all "plug-in" with "plugin" for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove terms and native_client_sdk changes. Created 5 years, 9 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/chrome_dll_bundle.gypi ('k') | chrome/common/extensions/api/content_settings.json » ('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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api"; 47 const char kAllowNaClFileHandleAPI[] = "allow-nacl-file-handle-api";
48 48
49 // Specifies comma-separated list of extension ids or hosts to grant 49 // Specifies comma-separated list of extension ids or hosts to grant
50 // access to TCP/UDP socket APIs. 50 // access to TCP/UDP socket APIs.
51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api"; 51 const char kAllowNaClSocketAPI[] = "allow-nacl-socket-api";
52 #endif 52 #endif
53 53
54 // Don't block outdated plugins. 54 // Don't block outdated plugins.
55 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; 55 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins";
56 56
57 // By default, an https page cannot run JavaScript, CSS or plug-ins from http 57 // By default, an https page cannot run JavaScript, CSS or plugins from http
58 // URLs. This provides an override to get the old insecure behavior. 58 // URLs. This provides an override to get the old insecure behavior.
59 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; 59 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
60 60
61 // Specifies the threshold to be used when determining of an Alternate-Protocol 61 // Specifies the threshold to be used when determining of an Alternate-Protocol
62 // advertisement will be honored. If the advertised probability is larger 62 // advertisement will be honored. If the advertised probability is larger
63 // than the threshold, then it will be honored. 63 // than the threshold, then it will be honored.
64 const char kAlternateProtocolProbabilityThreshold[] = 64 const char kAlternateProtocolProbabilityThreshold[] =
65 "alternate-protocol-probability-threshold"; 65 "alternate-protocol-probability-threshold";
66 66
67 // Prevents Chrome from requiring authorization to run certain widely installed 67 // Prevents Chrome from requiring authorization to run certain widely installed
68 // but less commonly used plug-ins. 68 // but less commonly used plugins.
69 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; 69 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins";
70 70
71 // Specifies that the extension-app with the specified id should be launched 71 // Specifies that the extension-app with the specified id should be launched
72 // according to its configuration. 72 // according to its configuration.
73 const char kAppId[] = "app-id"; 73 const char kAppId[] = "app-id";
74 74
75 // Specifies that the associated value should be launched in "application" 75 // Specifies that the associated value should be launched in "application"
76 // mode. 76 // mode.
77 const char kApp[] = "app"; 77 const char kApp[] = "app";
78 78
(...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 1377
1378 // ----------------------------------------------------------------------------- 1378 // -----------------------------------------------------------------------------
1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1380 // 1380 //
1381 // You were going to just dump your switches here, weren't you? Instead, please 1381 // You were going to just dump your switches here, weren't you? Instead, please
1382 // put them in alphabetical order above, or in order inside the appropriate 1382 // put them in alphabetical order above, or in order inside the appropriate
1383 // ifdef at the bottom. The order should match the header. 1383 // ifdef at the bottom. The order should match the header.
1384 // ----------------------------------------------------------------------------- 1384 // -----------------------------------------------------------------------------
1385 1385
1386 } // namespace switches 1386 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/chrome_dll_bundle.gypi ('k') | chrome/common/extensions/api/content_settings.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698