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

Side by Side Diff: chrome/browser/extensions/standard_management_policy_provider.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_
6 #define CHROME_BROWSER_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "extensions/browser/management_policy.h" 11 #include "extensions/browser/management_policy.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 class Blacklist;
16 class Extension; 15 class Extension;
17 class ExtensionManagement; 16 class ExtensionManagement;
18 17
19 // The standard management policy provider, which takes into account the 18 // The standard management policy provider, which takes into account the
20 // extension black/whitelists and admin black/whitelists. 19 // extension black/whitelists and admin black/whitelists.
21 class StandardManagementPolicyProvider : public ManagementPolicy::Provider { 20 class StandardManagementPolicyProvider : public ManagementPolicy::Provider {
22 public: 21 public:
23 explicit StandardManagementPolicyProvider( 22 explicit StandardManagementPolicyProvider(
24 const ExtensionManagement* settings); 23 const ExtensionManagement* settings);
25 24
(...skipping 13 matching lines...) Expand all
39 bool MustRemainInstalled(const Extension* extension, 38 bool MustRemainInstalled(const Extension* extension,
40 base::string16* error) const override; 39 base::string16* error) const override;
41 40
42 private: 41 private:
43 const ExtensionManagement* settings_; 42 const ExtensionManagement* settings_;
44 }; 43 };
45 44
46 } // namespace extensions 45 } // namespace extensions
47 46
48 #endif // CHROME_BROWSER_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_ 47 #endif // CHROME_BROWSER_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/proxy_overridden_bubble_delegate.h ('k') | chrome/browser/extensions/startup_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698