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