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

Side by Side Diff: chrome/browser/download/download_dir_policy_handler.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | chrome/browser/download/download_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698