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

Side by Side Diff: chrome/browser/policy/policy_path_parser.h

Issue 8139029: Make policy errors available to display in about:policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unused replacement string DCHECK from policy_error_map.cc Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/policy/policy_map.cc ('k') | chrome/browser/policy/policy_status_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_map.cc ('k') | chrome/browser/policy/policy_status_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698