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

Unified Diff: chrome/browser/policy/preg_parser_win.h

Issue 13963003: Add standard policy provider tests for PReg policy reading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/browser/policy/preg_parser_win.h
diff --git a/chrome/browser/policy/preg_parser_win.h b/chrome/browser/policy/preg_parser_win.h
index 09427e6a04e8daa915b1db4799dbbb00ba14c82d..ca8b092e83a74d003027d68eb2218cacefeef972 100644
--- a/chrome/browser/policy/preg_parser_win.h
+++ b/chrome/browser/policy/preg_parser_win.h
@@ -23,6 +23,9 @@ class FilePath;
namespace policy {
namespace preg_parser {
+// The magic header in PReg files: ASCII "PReg" + version (0x0001).
+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.

Powered by Google App Engine
This is Rietveld 408576698