summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-22 02:27:00 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-22 02:27:00 +0000
commit491c29f466ae6f0bc3a43c397fe33f2d7ea8428e (patch)
treeda9df5ac6f6654ea5edba6a761d54286b8fb6752 /chrome/common
parente7c7e31c0cbdc4deca09e8c0f577848bd301a28f (diff)
downloadchromium_src-491c29f466ae6f0bc3a43c397fe33f2d7ea8428e.zip
chromium_src-491c29f466ae6f0bc3a43c397fe33f2d7ea8428e.tar.gz
chromium_src-491c29f466ae6f0bc3a43c397fe33f2d7ea8428e.tar.bz2
Added --force-load-cloud-policy flag
Added command-line switch to tell the cloud policy framework to try to load policy even if the signed-in user is not a dasher user. This is useful for testing so we don't need to have a dasher account - any GAIA account will work. BUG=177205 Review URL: https://chromiumcodereview.appspot.com/12330009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183985 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc5
-rw-r--r--chrome/common/chrome_switches.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 4adbd2e..06f8901 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -696,6 +696,11 @@ const char kForceAppMode[] = "force-app-mode";
// whether or not it's actually the First Run (this overrides kNoFirstRun).
const char kForceFirstRun[] = "force-first-run";
+// Tries to load cloud policy for every signed in user, regardless of whether
+// they are a dasher user or not. Used to allow any GAIA account to be used for
+// testing the cloud policy framework.
+const char kForceLoadCloudPolicy[] = "force-load-cloud-policy";
+
// Enables using GAIA information to populate profile name and icon.
const char kGaiaProfileInfo[] = "gaia-profile-info";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 7c685f0..4e4daef 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -195,6 +195,7 @@ extern const char kFeedbackServer[];
extern const char kFileDescriptorLimit[];
extern const char kForceAppMode[];
extern const char kForceFirstRun[];
+extern const char kForceLoadCloudPolicy[];
extern const char kGaiaProfileInfo[];
extern const char kGoogleSearchDomainCheckURL[];
extern const char kGSSAPILibraryName[];