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

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

Issue 13441008: Add parser for PReg files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/policy/preg_parser_win.cc » ('j') | chrome/browser/policy/preg_parser_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..69fe7a8a925a72e44c03fb4db36ca7ff3b20c54d
--- /dev/null
+++ b/chrome/browser/policy/preg_parser_win.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_POLICY_PREG_PARSER_WIN_H
+#define CHROME_BROWSER_POLICY_PREG_PARSER_WIN_H
Joao da Silva 2013/04/05 12:51:33 nit: the header guard macros usually end in _H_
Mattias Nissler (ping if slow) 2013/04/05 18:12:50 Done.
+
+#include <vector>
+
+#include "base/memory/scoped_ptr.h"
+#include "base/values.h"
+#include "chrome/browser/policy/policy_types.h"
Joao da Silva 2013/04/05 12:51:33 Not needed in the header
Mattias Nissler (ping if slow) 2013/04/05 18:12:50 Done.
+
+namespace base {
+class FilePath;
+}
+
+namespace policy {
+namespace preg_parser {
+
+// Reads the PReg file at |file_path| and sets policy data in |dict|.
+bool ReadFile(const base::FilePath& file_path,
+ base::DictionaryValue* dict);
Joao da Silva 2013/04/05 12:51:33 Forward decl?
Mattias Nissler (ping if slow) 2013/04/05 18:12:50 Done.
+
+} // namespace preg_parser
+} // namespace policy
+
+#endif // CHROME_BROWSER_POLICY_PREG_PARSER_WIN_H
« no previous file with comments | « no previous file | chrome/browser/policy/preg_parser_win.cc » ('j') | chrome/browser/policy/preg_parser_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698