Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chromeos / chromeos_paths.h
index d25ac43..fe9be13 100644 (file)
@@ -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_