OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_POLICY_POLICY_PATH_PARSER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_POLICY_PATH_PARSER_H_ |
6 #define CHROME_BROWSER_POLICY_POLICY_PATH_PARSER_H_ | 6 #define CHROME_BROWSER_POLICY_POLICY_PATH_PARSER_H_ |
| 7 #pragma once |
7 | 8 |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/file_path.h" | 11 #include "base/file_path.h" |
11 | 12 |
12 namespace policy { | 13 namespace policy { |
13 | 14 |
14 namespace path_parser { | 15 namespace path_parser { |
15 | 16 |
16 // This function is used to expand the variables in policy strings that | 17 // This function is used to expand the variables in policy strings that |
(...skipping 30 matching lines...) Expand all Loading... |
47 // translated only once in every string because for most of these there is no | 48 // translated only once in every string because for most of these there is no |
48 // sense in concatenating them more than once in a single path. | 49 // sense in concatenating them more than once in a single path. |
49 FilePath::StringType ExpandPathVariables( | 50 FilePath::StringType ExpandPathVariables( |
50 const FilePath::StringType& untranslated_string); | 51 const FilePath::StringType& untranslated_string); |
51 | 52 |
52 } // namespace path_parser | 53 } // namespace path_parser |
53 | 54 |
54 } // namespace policy | 55 } // namespace policy |
55 | 56 |
56 #endif // CHROME_BROWSER_POLICY_POLICY_PATH_PARSER_H_ | 57 #endif // CHROME_BROWSER_POLICY_POLICY_PATH_PARSER_H_ |
OLD | NEW |