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 <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 #include "chrome/browser/download/download_prefs.h" | 15 #include "chrome/browser/download/download_prefs.h" |
16 #include "chrome/browser/policy/policy_path_parser.h" | 16 #include "chrome/browser/policy/policy_path_parser.h" |
17 #include "chrome/common/pref_names.h" | 17 #include "chrome/common/pref_names.h" |
18 #include "components/drive/drive_pref_names.h" | 18 #include "components/drive/drive_pref_names.h" |
19 #include "components/policy/core/browser/configuration_policy_handler_parameters
.h" | 19 #include "components/policy/core/browser/configuration_policy_handler_parameters
.h" |
20 #include "components/policy/core/browser/policy_error_map.h" | 20 #include "components/policy/core/browser/policy_error_map.h" |
21 #include "components/policy/core/common/policy_map.h" | 21 #include "components/policy/core/common/policy_map.h" |
22 #include "components/policy/core/common/policy_types.h" | 22 #include "components/policy/core/common/policy_types.h" |
23 #include "components/policy/policy_constants.h" | 23 #include "components/policy/policy_constants.h" |
24 #include "components/prefs/pref_value_map.h" | 24 #include "components/prefs/pref_value_map.h" |
25 #include "grit/components_strings.h" | 25 #include "components/strings/grit/components_strings.h" |
26 | 26 |
27 #if defined(OS_CHROMEOS) | 27 #if defined(OS_CHROMEOS) |
28 #include "chrome/browser/chromeos/drive/file_system_util.h" | 28 #include "chrome/browser/chromeos/drive/file_system_util.h" |
29 #endif | 29 #endif |
30 | 30 |
31 namespace { | 31 namespace { |
32 #if defined(OS_CHROMEOS) | 32 #if defined(OS_CHROMEOS) |
33 const char* kDriveNamePolicyVariableName = "${google_drive}"; | 33 const char* kDriveNamePolicyVariableName = "${google_drive}"; |
34 | 34 |
35 // Drive root folder relative to its mount point. | 35 // Drive root folder relative to its mount point. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 } | 117 } |
118 #endif | 118 #endif |
119 } | 119 } |
120 } | 120 } |
121 | 121 |
122 void DownloadDirPolicyHandler::ApplyPolicySettings( | 122 void DownloadDirPolicyHandler::ApplyPolicySettings( |
123 const policy::PolicyMap& /* policies */, | 123 const policy::PolicyMap& /* policies */, |
124 PrefValueMap* /* prefs */) { | 124 PrefValueMap* /* prefs */) { |
125 NOTREACHED(); | 125 NOTREACHED(); |
126 } | 126 } |
OLD | NEW |