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

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

Issue 8899002: [cros] Add --stub-cros-settings option for testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
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 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 const char kCandidateWindowLang[] = "lang"; 1188 const char kCandidateWindowLang[] = "lang";
1189 1189
1190 // Indicates that the browser is in "browse without sign-in" (Guest session) 1190 // Indicates that the browser is in "browse without sign-in" (Guest session)
1191 // mode. Should completely disable extensions, sync and bookmarks. 1191 // mode. Should completely disable extensions, sync and bookmarks.
1192 const char kGuestSession[] = "bwsi"; 1192 const char kGuestSession[] = "bwsi";
1193 1193
1194 // Indicates that stub implementations of the libcros library should be used. 1194 // Indicates that stub implementations of the libcros library should be used.
1195 // This is typically used to test the chromeos build of chrome on the desktop. 1195 // This is typically used to test the chromeos build of chrome on the desktop.
1196 const char kStubCros[] = "stub-cros"; 1196 const char kStubCros[] = "stub-cros";
1197 1197
1198 // Indicates that a stub implementation of CrosSettings that stores settings in
1199 // memory without signing should be used, treating current user as the owner.
1200 // This option is for testing the chromeos build of chrome on the desktop only.
1201 const char kStubCrosSettings[] = "stub-cros-settings";
1202
1198 // URL of the html page for Screen Saver. 1203 // URL of the html page for Screen Saver.
1199 const char kScreenSaverUrl[] = "screen-saver-url"; 1204 const char kScreenSaverUrl[] = "screen-saver-url";
1200 1205
1201 // Triggers ChromeOS system log compression during feedback submit. 1206 // Triggers ChromeOS system log compression during feedback submit.
1202 const char kCompressSystemFeedback[] = "compress-sys-feedback"; 1207 const char kCompressSystemFeedback[] = "compress-sys-feedback";
1203 1208
1204 // Enables overriding the path for the default authentication extension. 1209 // Enables overriding the path for the default authentication extension.
1205 const char kAuthExtensionPath[] = "auth-ext-path"; 1210 const char kAuthExtensionPath[] = "auth-ext-path";
1206 1211
1207 #ifndef NDEBUG 1212 #ifndef NDEBUG
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 1304
1300 // ----------------------------------------------------------------------------- 1305 // -----------------------------------------------------------------------------
1301 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1306 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1302 // 1307 //
1303 // You were going to just dump your switches here, weren't you? Instead, please 1308 // You were going to just dump your switches here, weren't you? Instead, please
1304 // put them in alphabetical order above, or in order inside the appropriate 1309 // put them in alphabetical order above, or in order inside the appropriate
1305 // ifdef at the bottom. The order should match the header. 1310 // ifdef at the bottom. The order should match the header.
1306 // ----------------------------------------------------------------------------- 1311 // -----------------------------------------------------------------------------
1307 1312
1308 } // namespace switches 1313 } // namespace switches
OLDNEW
« chrome/browser/chromeos/stub_cros_settings_provider.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698