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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 200473002: Move all callers of GetHomeDir() to PathService::Get(base::DIR_HOME). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | content/ppapi_plugin/ppapi_plugin_main.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) 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 "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 namespace chromeos { 7 namespace chromeos {
8 namespace switches { 8 namespace switches {
9 9
10 // Path for app's OEM manifest file. 10 // Path for app's OEM manifest file.
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // mode. Should completely disable extensions, sync and bookmarks. 127 // mode. Should completely disable extensions, sync and bookmarks.
128 const char kGuestSession[] = "bwsi"; 128 const char kGuestSession[] = "bwsi";
129 129
130 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for 130 // If true, the Chromebook has a Chrome OS keyboard. Don't use the flag for
131 // Chromeboxes. 131 // Chromeboxes.
132 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard"; 132 const char kHasChromeOSKeyboard[] = "has-chromeos-keyboard";
133 133
134 // If true, the Chromebook has a keyboard with a diamond key. 134 // If true, the Chromebook has a keyboard with a diamond key.
135 const char kHasChromeOSDiamondKey[] = "has-chromeos-diamond-key"; 135 const char kHasChromeOSDiamondKey[] = "has-chromeos-diamond-key";
136 136
137 // Defines user homedir. This defaults to primary user homedir.
138 const char kHomedir[] = "homedir";
139
137 // If true, profile selection in UserManager will always return active user's 140 // If true, profile selection in UserManager will always return active user's
138 // profile. 141 // profile.
139 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we 142 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we
140 // turn on multi-profile feature on ChromeOS. 143 // turn on multi-profile feature on ChromeOS.
141 const char kIgnoreUserProfileMappingForTests[] = 144 const char kIgnoreUserProfileMappingForTests[] =
142 "ignore-user-profile-mapping-for-tests"; 145 "ignore-user-profile-mapping-for-tests";
143 146
144 // Path for the screensaver used in Kiosk mode 147 // Path for the screensaver used in Kiosk mode
145 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path"; 148 const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path";
146 149
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; 206 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions";
204 207
205 // Forces first-run UI to be shown for every login. 208 // Forces first-run UI to be shown for every login.
206 const char kForceFirstRunUI[] = "force-first-run-ui"; 209 const char kForceFirstRunUI[] = "force-first-run-ui";
207 210
208 // Enables testing for auto update UI. 211 // Enables testing for auto update UI.
209 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; 212 const char kTestAutoUpdateUI[] = "test-auto-update-ui";
210 213
211 } // namespace switches 214 } // namespace switches
212 } // namespace chromeos 215 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | content/ppapi_plugin/ppapi_plugin_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698