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