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

Unified Diff: chromeos/chromeos_paths.h

Issue 258743005: Enable Enterprise enrollment on desktop builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added arg to PathService::OverrideAndCreateIfNeeded, added test for FakeCryptohomeClient::InstallAt… Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/chromeos_paths.h
diff --git a/chromeos/chromeos_paths.h b/chromeos/chromeos_paths.h
index d25ac437c5d515e16d7a223143f24691a74ea881..fe9be13f4ef2c53c1941fcaa2b51c6defbe06b20 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_

Powered by Google App Engine
This is Rietveld 408576698