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

Side by Side Diff: components/policy/core/common/preg_parser.h

Issue 2481753002: Push preg_parser and registry_dict changes upstream (Closed)
Patch Set: Minor formatting fixes Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file provides a parser for PReg files which are used for storing group 5 // This file provides a parser for PReg files which are used for storing group
6 // policy settings in the file system. The file format is documented here: 6 // policy settings in the file system. The file format is documented here:
7 // 7 //
8 // http://msdn.microsoft.com/en-us/library/windows/desktop/aa374407(v=vs.85).asp x 8 // http://msdn.microsoft.com/en-us/library/windows/desktop/aa374407(v=vs.85).asp x
9 9
10 #ifndef COMPONENTS_POLICY_CORE_COMMON_PREG_PARSER_WIN_H_ 10 #ifndef COMPONENTS_POLICY_CORE_COMMON_PREG_PARSER_H_
11 #define COMPONENTS_POLICY_CORE_COMMON_PREG_PARSER_WIN_H_ 11 #define COMPONENTS_POLICY_CORE_COMMON_PREG_PARSER_H_
12 12
13 #include <memory> 13 #include <memory>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
17 #include "components/policy/policy_export.h" 17 #include "components/policy/policy_export.h"
18 18
19 namespace base { 19 namespace base {
20 class FilePath; 20 class FilePath;
21 } 21 }
(...skipping 12 matching lines...) Expand all
34 // |root| specifies the registry subtree the caller is interested in, 34 // |root| specifies the registry subtree the caller is interested in,
35 // everything else gets ignored. 35 // everything else gets ignored.
36 POLICY_EXPORT bool ReadFile(const base::FilePath& file_path, 36 POLICY_EXPORT bool ReadFile(const base::FilePath& file_path,
37 const base::string16& root, 37 const base::string16& root,
38 RegistryDict* dict, 38 RegistryDict* dict,
39 PolicyLoadStatusSample* status); 39 PolicyLoadStatusSample* status);
40 40
41 } // namespace preg_parser 41 } // namespace preg_parser
42 } // namespace policy 42 } // namespace policy
43 43
44 #endif // COMPONENTS_POLICY_CORE_COMMON_PREG_PARSER_WIN_H_ 44 #endif // COMPONENTS_POLICY_CORE_COMMON_PREG_PARSER_H_
OLDNEW
« no previous file with comments | « components/policy/core/common/policy_loader_win_unittest.cc ('k') | components/policy/core/common/preg_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698