OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/download/download_dir_policy_handler.h" | 5 #include "chrome/browser/download/download_dir_policy_handler.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/prefs/pref_value_map.h" | |
12 #include "base/values.h" | 11 #include "base/values.h" |
13 #include "build/build_config.h" | 12 #include "build/build_config.h" |
14 #include "chrome/browser/download/download_prefs.h" | 13 #include "chrome/browser/download/download_prefs.h" |
15 #include "chrome/browser/policy/policy_path_parser.h" | 14 #include "chrome/browser/policy/policy_path_parser.h" |
16 #include "chrome/common/pref_names.h" | 15 #include "chrome/common/pref_names.h" |
17 #include "components/drive/drive_pref_names.h" | 16 #include "components/drive/drive_pref_names.h" |
18 #include "components/policy/core/browser/configuration_policy_handler_parameters
.h" | 17 #include "components/policy/core/browser/configuration_policy_handler_parameters
.h" |
19 #include "components/policy/core/browser/policy_error_map.h" | 18 #include "components/policy/core/browser/policy_error_map.h" |
20 #include "components/policy/core/common/policy_map.h" | 19 #include "components/policy/core/common/policy_map.h" |
21 #include "components/policy/core/common/policy_types.h" | 20 #include "components/policy/core/common/policy_types.h" |
| 21 #include "components/prefs/pref_value_map.h" |
22 #include "grit/components_strings.h" | 22 #include "grit/components_strings.h" |
23 #include "policy/policy_constants.h" | 23 #include "policy/policy_constants.h" |
24 | 24 |
25 #if defined(OS_CHROMEOS) | 25 #if defined(OS_CHROMEOS) |
26 #include "chrome/browser/chromeos/drive/file_system_util.h" | 26 #include "chrome/browser/chromeos/drive/file_system_util.h" |
27 #endif | 27 #endif |
28 | 28 |
29 namespace { | 29 namespace { |
30 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
31 const char* kDriveNamePolicyVariableName = "${google_drive}"; | 31 const char* kDriveNamePolicyVariableName = "${google_drive}"; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 } | 115 } |
116 #endif | 116 #endif |
117 } | 117 } |
118 } | 118 } |
119 | 119 |
120 void DownloadDirPolicyHandler::ApplyPolicySettings( | 120 void DownloadDirPolicyHandler::ApplyPolicySettings( |
121 const policy::PolicyMap& /* policies */, | 121 const policy::PolicyMap& /* policies */, |
122 PrefValueMap* /* prefs */) { | 122 PrefValueMap* /* prefs */) { |
123 NOTREACHED(); | 123 NOTREACHED(); |
124 } | 124 } |
OLD | NEW |