summaryrefslogtreecommitdiffstats
path: root/chromeos/chromeos_paths.h
diff options
context:
space:
mode:
authorjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-02 17:59:42 +0000
committerjoaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-02 17:59:42 +0000
commitff9ed9f4171c049ae5c090e53b99bdd0de9e5d82 (patch)
treefcdf6e9071071c134032041e1a32d2f7bbf04c8d /chromeos/chromeos_paths.h
parent0f5f8ee8edaa4cc9fa53290942be92126a58ed1a (diff)
downloadchromium_src-ff9ed9f4171c049ae5c090e53b99bdd0de9e5d82.zip
chromium_src-ff9ed9f4171c049ae5c090e53b99bdd0de9e5d82.tar.gz
chromium_src-ff9ed9f4171c049ae5c090e53b99bdd0de9e5d82.tar.bz2
Enable Enterprise enrollment on desktop builds.
Note: this is a reland of https://codereview.chromium.org/258743005 This change implements some of the DBus stub methods so that enterprise enrollment works on desktop builds. That will make development of features that depend on enrollment faster for developers that use this workflow (e.g. for kiosk enterprise apps, public accounts, testing some device policies, etc). - Override some of the directories and files involved with the enrollment state - Simple stub implementation of the DBus calls involved - Write a persistent cache of the install attributes - Cleaned up the stub for user cloud policy and made them persistent too - Updated some tests This change doesn't affect production code. TBR=jochen@chromium.org BUG=240269, 367674 Review URL: https://codereview.chromium.org/264943011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267861 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/chromeos_paths.h')
-rw-r--r--chromeos/chromeos_paths.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chromeos/chromeos_paths.h b/chromeos/chromeos_paths.h
index d25ac43..fe9be13 100644
--- a/chromeos/chromeos_paths.h
+++ b/chromeos/chromeos_paths.h
@@ -7,6 +7,10 @@
#include "chromeos/chromeos_export.h"
+namespace base {
+class FilePath;
+}
+
// This file declares path keys for the chromeos module. These can be used with
// the PathService to access various special directories and files.
@@ -40,6 +44,11 @@ enum {
// Call once to register the provider for the path keys defined above.
CHROMEOS_EXPORT void RegisterPathProvider();
+// Overrides some of the paths listed above so that those files can be used
+// when not running on ChromeOS. The stubs files will be relative to
+// |stubs_dir|. It is not valid to call this when running on ChromeOS.
+CHROMEOS_EXPORT void RegisterStubPathOverrides(const base::FilePath& stubs_dir);
+
} // namespace chromeos
#endif // CHROMEOS_CHROMEOS_PATHS_H_