Index: components/policy/core/common/preg_parser_win.h |
diff --git a/chrome/browser/policy/preg_parser_win.h b/components/policy/core/common/preg_parser_win.h |
similarity index 65% |
rename from chrome/browser/policy/preg_parser_win.h |
rename to components/policy/core/common/preg_parser_win.h |
index dbd54c7b6f629bf1a833bec1f375fde8b407e121..e01657b78dc79304d8286ff567dbff13cbe10c8f 100644 |
--- a/chrome/browser/policy/preg_parser_win.h |
+++ b/components/policy/core/common/preg_parser_win.h |
@@ -7,13 +7,14 @@ |
// |
// http://msdn.microsoft.com/en-us/library/windows/desktop/aa374407(v=vs.85).aspx |
-#ifndef CHROME_BROWSER_POLICY_PREG_PARSER_WIN_H_ |
-#define CHROME_BROWSER_POLICY_PREG_PARSER_WIN_H_ |
+#ifndef COMPONENTS_POLICY_CORE_COMMON_PREG_PARSER_WIN_H_ |
+#define COMPONENTS_POLICY_CORE_COMMON_PREG_PARSER_WIN_H_ |
#include <vector> |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
+#include "components/policy/policy_export.h" |
namespace base { |
class FilePath; |
@@ -27,17 +28,17 @@ class RegistryDict; |
namespace preg_parser { |
// The magic header in PReg files: ASCII "PReg" + version (0x0001). |
-extern const char kPRegFileHeader[8]; |
+POLICY_EXPORT extern const char kPRegFileHeader[8]; |
// Reads the PReg file at |file_path| and writes the registry data to |dict|. |
// |root| specifies the registry subtree the caller is interested in, |
// everything else gets ignored. |
-bool ReadFile(const base::FilePath& file_path, |
- const string16& root, |
- RegistryDict* dict, |
- PolicyLoadStatusSample* status); |
+POLICY_EXPORT bool ReadFile(const base::FilePath& file_path, |
+ const string16& root, |
+ RegistryDict* dict, |
+ PolicyLoadStatusSample* status); |
} // namespace preg_parser |
} // namespace policy |
-#endif // CHROME_BROWSER_POLICY_PREG_PARSER_WIN_H_ |
+#endif // COMPONENTS_POLICY_CORE_COMMON_PREG_PARSER_WIN_H_ |