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 #include "chrome/browser/policy/policy_path_parser.h" | 5 #include "chrome/browser/policy/policy_path_parser.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #import <SystemConfiguration/SCDynamicStore.h> | 9 #import <SystemConfiguration/SCDynamicStore.h> |
10 #import <SystemConfiguration/SCDynamicStoreCopySpecific.h> | 10 #import <SystemConfiguration/SCDynamicStoreCopySpecific.h> |
11 #import <SystemConfiguration/SystemConfiguration.h> | 11 #import <SystemConfiguration/SystemConfiguration.h> |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #import "base/mac/scoped_nsautorelease_pool.h" | 17 #import "base/mac/scoped_nsautorelease_pool.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/strings/sys_string_conversions.h" | 19 #include "base/strings/sys_string_conversions.h" |
20 #include "policy/policy_constants.h" | 20 #include "components/policy/policy_constants.h" |
21 | 21 |
22 namespace policy { | 22 namespace policy { |
23 | 23 |
24 namespace path_parser { | 24 namespace path_parser { |
25 | 25 |
26 const char* kUserNamePolicyVarName = "${user_name}"; | 26 const char* kUserNamePolicyVarName = "${user_name}"; |
27 const char* kMachineNamePolicyVarName = "${machine_name}"; | 27 const char* kMachineNamePolicyVarName = "${machine_name}"; |
28 const char* kMacUsersDirectory = "${users}"; | 28 const char* kMacUsersDirectory = "${users}"; |
29 const char* kMacDocumentsFolderVarName = "${documents}"; | 29 const char* kMacDocumentsFolderVarName = "${documents}"; |
30 | 30 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 void CheckDiskCacheDirPolicy(base::FilePath* user_data_dir) { | 117 void CheckDiskCacheDirPolicy(base::FilePath* user_data_dir) { |
118 // This function is not implemented in Mac because it's only used by the | 118 // This function is not implemented in Mac because it's only used by the |
119 // feature in Windows. | 119 // feature in Windows. |
120 NOTREACHED(); | 120 NOTREACHED(); |
121 } | 121 } |
122 | 122 |
123 } // namespace path_parser | 123 } // namespace path_parser |
124 | 124 |
125 } // namespace policy | 125 } // namespace policy |
OLD | NEW |