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

Side by Side Diff: chrome/browser/policy/config_dir_policy_provider.cc

Issue 7941008: Cosmetic cleanups in chrome/browser/policy/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Upload was broken? Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/config_dir_policy_provider.h" 5 #include "chrome/browser/policy/config_dir_policy_provider.h"
6 6
7 #include <algorithm>
7 #include <set> 8 #include <set>
8 9
10 #include "base/file_path.h"
9 #include "base/file_util.h" 11 #include "base/file_util.h"
10 #include "base/values.h" 12 #include "base/logging.h"
13 #include "base/platform_file.h"
11 #include "content/common/json_value_serializer.h" 14 #include "content/common/json_value_serializer.h"
12 15
13 namespace policy { 16 namespace policy {
14 17
15 ConfigDirPolicyProviderDelegate::ConfigDirPolicyProviderDelegate( 18 ConfigDirPolicyProviderDelegate::ConfigDirPolicyProviderDelegate(
16 const FilePath& config_dir) 19 const FilePath& config_dir)
17 : FileBasedPolicyProvider::ProviderDelegate(config_dir) { 20 : FileBasedPolicyProvider::ProviderDelegate(config_dir) {
18 } 21 }
19 22
20 DictionaryValue* ConfigDirPolicyProviderDelegate::Load() { 23 DictionaryValue* ConfigDirPolicyProviderDelegate::Load() {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 81
79 ConfigDirPolicyProvider::ConfigDirPolicyProvider( 82 ConfigDirPolicyProvider::ConfigDirPolicyProvider(
80 const ConfigurationPolicyProvider::PolicyDefinitionList* policy_list, 83 const ConfigurationPolicyProvider::PolicyDefinitionList* policy_list,
81 const FilePath& config_dir) 84 const FilePath& config_dir)
82 : FileBasedPolicyProvider( 85 : FileBasedPolicyProvider(
83 policy_list, 86 policy_list,
84 new ConfigDirPolicyProviderDelegate(config_dir)) { 87 new ConfigDirPolicyProviderDelegate(config_dir)) {
85 } 88 }
86 89
87 } // namespace policy 90 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/config_dir_policy_provider.h ('k') | chrome/browser/policy/config_dir_policy_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698