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

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

Issue 9465030: Break two classes defined in json_value_serializer.cc, .h into separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <algorithm>
8 #include <set> 8 #include <set>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/json/json_value_serializer.h" 12 #include "base/json/json_file_value_serializer.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/platform_file.h" 14 #include "base/platform_file.h"
15 #include "chrome/browser/policy/policy_map.h" 15 #include "chrome/browser/policy/policy_map.h"
16 16
17 namespace policy { 17 namespace policy {
18 18
19 ConfigDirPolicyProviderDelegate::ConfigDirPolicyProviderDelegate( 19 ConfigDirPolicyProviderDelegate::ConfigDirPolicyProviderDelegate(
20 const FilePath& config_dir, 20 const FilePath& config_dir,
21 PolicyLevel level, 21 PolicyLevel level,
22 PolicyScope scope) 22 PolicyScope scope)
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 ConfigDirPolicyProvider::ConfigDirPolicyProvider( 93 ConfigDirPolicyProvider::ConfigDirPolicyProvider(
94 const PolicyDefinitionList* policy_list, 94 const PolicyDefinitionList* policy_list,
95 PolicyLevel level, 95 PolicyLevel level,
96 PolicyScope scope, 96 PolicyScope scope,
97 const FilePath& config_dir) 97 const FilePath& config_dir)
98 : FileBasedPolicyProvider( 98 : FileBasedPolicyProvider(
99 policy_list, 99 policy_list,
100 new ConfigDirPolicyProviderDelegate(config_dir, level, scope)) {} 100 new ConfigDirPolicyProviderDelegate(config_dir, level, scope)) {}
101 101
102 } // namespace policy 102 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/intents/web_intents_registry_unittest.cc ('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