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

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

Issue 536753003: Add recommended extension installation support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ext-3
Patch Set: rebase Created 6 years, 2 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 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 "extensions/browser/management_policy.h" 8 #include "extensions/browser/management_policy.h"
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 12 matching lines...) Expand all
23 virtual ~StandardManagementPolicyProvider(); 23 virtual ~StandardManagementPolicyProvider();
24 24
25 // ManagementPolicy::Provider implementation. 25 // ManagementPolicy::Provider implementation.
26 virtual std::string GetDebugPolicyProviderName() const override; 26 virtual std::string GetDebugPolicyProviderName() const override;
27 virtual bool UserMayLoad(const Extension* extension, 27 virtual bool UserMayLoad(const Extension* extension,
28 base::string16* error) const override; 28 base::string16* error) const override;
29 virtual bool UserMayModifySettings(const Extension* extension, 29 virtual bool UserMayModifySettings(const Extension* extension,
30 base::string16* error) const override; 30 base::string16* error) const override;
31 virtual bool MustRemainEnabled(const Extension* extension, 31 virtual bool MustRemainEnabled(const Extension* extension,
32 base::string16* error) const override; 32 base::string16* error) const override;
33 virtual bool MustRemainInstalled(const Extension* extension,
34 base::string16* error) const override;
33 35
34 private: 36 private:
35 const ExtensionManagement* settings_; 37 const ExtensionManagement* settings_;
36 }; 38 };
37 39
38 } // namespace extensions 40 } // namespace extensions
39 41
40 #endif // CHROME_BROWSER_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_ 42 #endif // CHROME_BROWSER_EXTENSIONS_STANDARD_MANAGEMENT_POLICY_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698