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

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

Issue 7467008: Add a command line "--profile-directory="name of profile directory to load"" switch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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') | no next file » | 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) 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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 // prefetch_only: No prerendering, but enable prefetching. 814 // prefetch_only: No prerendering, but enable prefetching.
815 const char kPrerenderSwitchValuePrefetchOnly[] = "prefetch_only"; 815 const char kPrerenderSwitchValuePrefetchOnly[] = "prefetch_only";
816 816
817 // Prints the pages on the screen. 817 // Prints the pages on the screen.
818 const char kPrint[] = "print"; 818 const char kPrint[] = "print";
819 819
820 // Output the product version information and quit. Used as an internal api to 820 // Output the product version information and quit. Used as an internal api to
821 // detect the installed version of Chrome on Linux. 821 // detect the installed version of Chrome on Linux.
822 const char kProductVersion[] = "product-version"; 822 const char kProductVersion[] = "product-version";
823 823
824 // Selects directory of profile to associate with the first browser launched.
825 const char kProfileDirectory[] = "profile-directory";
826
824 // Starts the sampling based profiler for the browser process at 827 // Starts the sampling based profiler for the browser process at
825 // startup. This will only work if chrome has been built with 828 // startup. This will only work if chrome has been built with
826 // the gyp variable profiling=1. The output will go to the value 829 // the gyp variable profiling=1. The output will go to the value
827 // of kProfilingFile. 830 // of kProfilingFile.
828 const char kProfilingAtStart[] = "profiling-at-start"; 831 const char kProfilingAtStart[] = "profiling-at-start";
829 832
830 // Specifies a location for profiling output. This will only work if chrome 833 // Specifies a location for profiling output. This will only work if chrome
831 // has been built with the gyp variable profiling=1. 834 // has been built with the gyp variable profiling=1.
832 // {pid} if present will be replaced by the pid of the process. 835 // {pid} if present will be replaced by the pid of the process.
833 // {count} if present will be incremented each time a profile is generated 836 // {count} if present will be incremented each time a profile is generated
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 1233
1231 // ----------------------------------------------------------------------------- 1234 // -----------------------------------------------------------------------------
1232 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1235 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1233 // 1236 //
1234 // You were going to just dump your switches here, weren't you? Instead, 1237 // You were going to just dump your switches here, weren't you? Instead,
1235 // please put them in alphabetical order above, or in order inside the 1238 // please put them in alphabetical order above, or in order inside the
1236 // appropriate ifdef at the bottom. The order should match the header. 1239 // appropriate ifdef at the bottom. The order should match the header.
1237 // ----------------------------------------------------------------------------- 1240 // -----------------------------------------------------------------------------
1238 1241
1239 } // namespace switches 1242 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698