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

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

Issue 2885363003: Add policy to use system default printer (Closed)
Patch Set: Fix test Created 3 years, 6 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 // --unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test 832 // --unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test
833 // --user-data-dir=/test/only/profile/dir 833 // --user-data-dir=/test/only/profile/dir
834 const char kUnsafelyTreatInsecureOriginAsSecure[] = 834 const char kUnsafelyTreatInsecureOriginAsSecure[] =
835 "unsafely-treat-insecure-origin-as-secure"; 835 "unsafely-treat-insecure-origin-as-secure";
836 836
837 // Pass the full https:// URL to PAC (Proxy Auto Config) scripts. As opposed to 837 // Pass the full https:// URL to PAC (Proxy Auto Config) scripts. As opposed to
838 // the default behavior which strips path and query components before passing 838 // the default behavior which strips path and query components before passing
839 // to the PAC scripts. 839 // to the PAC scripts.
840 const char kUnsafePacUrl[] = "unsafe-pac-url"; 840 const char kUnsafePacUrl[] = "unsafe-pac-url";
841 841
842 // Overrides the use of the most recent destination as the automatically
Lei Zhang 2017/06/15 18:26:16 How about: Uses the system default printer as the
rbpotter 2017/06/16 02:21:46 Done.
843 // selected destination in the Print Preview UI and automatically selects the
844 // OS default destination instead.
845 const char kUseSystemDefaultPrinter[] = "use-system-default-printer";
846
842 // A string used to override the default user agent with a custom one. 847 // A string used to override the default user agent with a custom one.
843 const char kUserAgent[] = "user-agent"; 848 const char kUserAgent[] = "user-agent";
844 849
845 // Specifies the user data directory, which is where the browser will look for 850 // Specifies the user data directory, which is where the browser will look for
846 // all of its state. 851 // all of its state.
847 const char kUserDataDir[] = "user-data-dir"; 852 const char kUserDataDir[] = "user-data-dir";
848 853
849 // Uses experimental simple cache backend if possible. 854 // Uses experimental simple cache backend if possible.
850 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend"; 855 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend";
851 856
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 1197
1193 // ----------------------------------------------------------------------------- 1198 // -----------------------------------------------------------------------------
1194 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1199 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1195 // 1200 //
1196 // You were going to just dump your switches here, weren't you? Instead, please 1201 // You were going to just dump your switches here, weren't you? Instead, please
1197 // put them in alphabetical order above, or in order inside the appropriate 1202 // put them in alphabetical order above, or in order inside the appropriate
1198 // ifdef at the bottom. The order should match the header. 1203 // ifdef at the bottom. The order should match the header.
1199 // ----------------------------------------------------------------------------- 1204 // -----------------------------------------------------------------------------
1200 1205
1201 } // namespace switches 1206 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698