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

Side by Side Diff: chrome/browser/policy/policy_path_parser_win.cc

Issue 7941008: Cosmetic cleanups in chrome/browser/policy/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload was broken? Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
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 #include <shlobj.h> 5 #include <shlobj.h>
6 6
7 #include "chrome/browser/policy/policy_path_parser.h" 7 #include "chrome/browser/policy/policy_path_parser.h"
8 8
9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
11 10
12 namespace policy { 11 namespace policy {
13 12
14 namespace path_parser { 13 namespace path_parser {
15 14
16 const WCHAR* kMachineNamePolicyVarName = L"${machine_name}"; 15 const WCHAR* kMachineNamePolicyVarName = L"${machine_name}";
17 const WCHAR* kUserNamePolicyVarName = L"${user_name}"; 16 const WCHAR* kUserNamePolicyVarName = L"${user_name}";
18 const WCHAR* kWinDocumentsFolderVarName = L"${documents}"; 17 const WCHAR* kWinDocumentsFolderVarName = L"${documents}";
19 const WCHAR* kWinLocalAppDataFolderVarName = L"${local_app_data}"; 18 const WCHAR* kWinLocalAppDataFolderVarName = L"${local_app_data}";
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 result.replace( 86 result.replace(
88 position, wcslen(kMachineNamePolicyVarName), machinename_string); 87 position, wcslen(kMachineNamePolicyVarName), machinename_string);
89 } 88 }
90 } 89 }
91 return result; 90 return result;
92 } 91 }
93 92
94 } // namespace path_parser 93 } // namespace path_parser
95 94
96 } // namespace policy 95 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/mock_device_management_backend.h ('k') | chrome/browser/policy/policy_status_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698