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

Side by Side Diff: chrome/browser/policy/file_based_policy_provider.h

Issue 9111022: Removed ConfigurationPolicyType and extended PolicyMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 11 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) 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 #ifndef CHROME_BROWSER_POLICY_FILE_BASED_POLICY_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_POLICY_FILE_BASED_POLICY_PROVIDER_H_
6 #define CHROME_BROWSER_POLICY_FILE_BASED_POLICY_PROVIDER_H_ 6 #define CHROME_BROWSER_POLICY_FILE_BASED_POLICY_PROVIDER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "chrome/browser/policy/asynchronous_policy_provider.h" 11 #include "chrome/browser/policy/asynchronous_policy_provider.h"
(...skipping 23 matching lines...) Expand all
35 const FilePath& config_file_path() { return config_file_path_; } 35 const FilePath& config_file_path() { return config_file_path_; }
36 36
37 private: 37 private:
38 const FilePath config_file_path_; 38 const FilePath config_file_path_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(ProviderDelegate); 40 DISALLOW_COPY_AND_ASSIGN(ProviderDelegate);
41 }; 41 };
42 42
43 // Assumes ownership of |delegate|. 43 // Assumes ownership of |delegate|.
44 FileBasedPolicyProvider(const PolicyDefinitionList* policy_list, 44 FileBasedPolicyProvider(const PolicyDefinitionList* policy_list,
45 PolicyLevel level,
46 PolicyScope scope,
45 ProviderDelegate* delegate); 47 ProviderDelegate* delegate);
46 virtual ~FileBasedPolicyProvider() {} 48 virtual ~FileBasedPolicyProvider() {}
47 49
48 private: 50 private:
49 DISALLOW_COPY_AND_ASSIGN(FileBasedPolicyProvider); 51 DISALLOW_COPY_AND_ASSIGN(FileBasedPolicyProvider);
50 }; 52 };
51 53
52 } // namespace policy 54 } // namespace policy
53 55
54 #endif // CHROME_BROWSER_POLICY_FILE_BASED_POLICY_PROVIDER_H_ 56 #endif // CHROME_BROWSER_POLICY_FILE_BASED_POLICY_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/device_policy_cache_unittest.cc ('k') | chrome/browser/policy/file_based_policy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698