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

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

Issue 1091283007: Rename methods and members and const variables to alternative service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 57 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
58 #endif 58 #endif
59 59
60 // Don't block outdated plugins. 60 // Don't block outdated plugins.
61 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins"; 61 const char kAllowOutdatedPlugins[] = "allow-outdated-plugins";
62 62
63 // By default, an https page cannot run JavaScript, CSS or plugins from http 63 // By default, an https page cannot run JavaScript, CSS or plugins from http
64 // URLs. This provides an override to get the old insecure behavior. 64 // URLs. This provides an override to get the old insecure behavior.
65 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content"; 65 const char kAllowRunningInsecureContent[] = "allow-running-insecure-content";
66 66
67 // Specifies the threshold to be used when determining of an Alternate-Protocol 67 // Specifies the probability threshold for alternative services: an advertised
68 // advertisement will be honored. If the advertised probability is larger 68 // alternative service will only be honored if the advertised probability is
69 // than the threshold, then it will be honored. 69 // greater than or equal to this threshold.
70 const char kAlternateProtocolProbabilityThreshold[] = 70 const char kAlternativeServiceProbabilityThreshold[] =
71 "alternate-protocol-probability-threshold"; 71 "alternate-protocol-probability-threshold";
72 72
73 // Prevents Chrome from requiring authorization to run certain widely installed 73 // Prevents Chrome from requiring authorization to run certain widely installed
74 // but less commonly used plugins. 74 // but less commonly used plugins.
75 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; 75 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins";
76 76
77 // Specifies that the extension-app with the specified id should be launched 77 // Specifies that the extension-app with the specified id should be launched
78 // according to its configuration. 78 // according to its configuration.
79 const char kAppId[] = "app-id"; 79 const char kAppId[] = "app-id";
80 80
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 1380
1381 // ----------------------------------------------------------------------------- 1381 // -----------------------------------------------------------------------------
1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1383 // 1383 //
1384 // You were going to just dump your switches here, weren't you? Instead, please 1384 // You were going to just dump your switches here, weren't you? Instead, please
1385 // put them in alphabetical order above, or in order inside the appropriate 1385 // put them in alphabetical order above, or in order inside the appropriate
1386 // ifdef at the bottom. The order should match the header. 1386 // ifdef at the bottom. The order should match the header.
1387 // ----------------------------------------------------------------------------- 1387 // -----------------------------------------------------------------------------
1388 1388
1389 } // namespace switches 1389 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698