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

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

Issue 3035062: Revert 55400 - Cleanup in base. This moves the implementation (and a bunch of... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/process_watcher_unittest.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 // for each site instance (i.e., group of pages from the same registered 745 // for each site instance (i.e., group of pages from the same registered
746 // domain with script connections to each other). 746 // domain with script connections to each other).
747 const char kProcessPerSite[] = "process-per-site"; 747 const char kProcessPerSite[] = "process-per-site";
748 748
749 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own 749 // Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own
750 // renderer process. We default to using a renderer process for each 750 // renderer process. We default to using a renderer process for each
751 // site instance (i.e., group of pages from the same registered domain with 751 // site instance (i.e., group of pages from the same registered domain with
752 // script connections to each other). 752 // script connections to each other).
753 const char kProcessPerTab[] = "process-per-tab"; 753 const char kProcessPerTab[] = "process-per-tab";
754 754
755 // The value of this switch determines whether the process is started as a
756 // renderer or plugin host. If it's empty, it's the browser.
757 const char kProcessType[] = "type";
758
759 // Output the product version information and quit. Used as an internal api to 755 // Output the product version information and quit. Used as an internal api to
760 // detect the installed version of Chrome on Linux. 756 // detect the installed version of Chrome on Linux.
761 const char kProductVersion[] = "product-version"; 757 const char kProductVersion[] = "product-version";
762 758
763 // Causes the process to run as a profile import subprocess. 759 // Causes the process to run as a profile import subprocess.
764 const char kProfileImportProcess[] = "profile-import"; 760 const char kProfileImportProcess[] = "profile-import";
765 761
766 // Force proxy auto-detection. 762 // Force proxy auto-detection.
767 const char kProxyAutoDetect[] = "proxy-auto-detect"; 763 const char kProxyAutoDetect[] = "proxy-auto-detect";
768 764
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 1158
1163 // ----------------------------------------------------------------------------- 1159 // -----------------------------------------------------------------------------
1164 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1160 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1165 // 1161 //
1166 // You were going to just dump your switches here, weren't you? Instead, 1162 // You were going to just dump your switches here, weren't you? Instead,
1167 // please put them in alphabetical order above, or in order inside the 1163 // please put them in alphabetical order above, or in order inside the
1168 // appropriate ifdef at the bottom. The order should match the header. 1164 // appropriate ifdef at the bottom. The order should match the header.
1169 // ----------------------------------------------------------------------------- 1165 // -----------------------------------------------------------------------------
1170 1166
1171 } // namespace switches 1167 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/process_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698