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

Side by Side Diff: chrome/common/extensions/chrome_extensions_client.h

Issue 1213623006: Extensions: Remove PermissionMessage (permission_message.h/cc) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kill_getmessages
Patch Set: fix app_shell build, rebase Created 5 years, 4 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
« no previous file with comments | « no previous file | chrome/common/extensions/chrome_extensions_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_
6 #define CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ 6 #define CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 13 matching lines...) Expand all
24 24
25 void Initialize() override; 25 void Initialize() override;
26 26
27 const PermissionMessageProvider& GetPermissionMessageProvider() 27 const PermissionMessageProvider& GetPermissionMessageProvider()
28 const override; 28 const override;
29 const std::string GetProductName() override; 29 const std::string GetProductName() override;
30 scoped_ptr<FeatureProvider> CreateFeatureProvider( 30 scoped_ptr<FeatureProvider> CreateFeatureProvider(
31 const std::string& name) const override; 31 const std::string& name) const override;
32 scoped_ptr<JSONFeatureProviderSource> CreateFeatureProviderSource( 32 scoped_ptr<JSONFeatureProviderSource> CreateFeatureProviderSource(
33 const std::string& name) const override; 33 const std::string& name) const override;
34 void FilterHostPermissions(
35 const URLPatternSet& hosts,
36 URLPatternSet* new_hosts,
37 std::set<PermissionMessage>* messages) const override;
38 void FilterHostPermissions(const URLPatternSet& hosts, 34 void FilterHostPermissions(const URLPatternSet& hosts,
39 URLPatternSet* new_hosts, 35 URLPatternSet* new_hosts,
40 PermissionIDSet* permissions) const override; 36 PermissionIDSet* permissions) const override;
41 void SetScriptingWhitelist(const ScriptingWhitelist& whitelist) override; 37 void SetScriptingWhitelist(const ScriptingWhitelist& whitelist) override;
42 const ScriptingWhitelist& GetScriptingWhitelist() const override; 38 const ScriptingWhitelist& GetScriptingWhitelist() const override;
43 URLPatternSet GetPermittedChromeSchemeHosts( 39 URLPatternSet GetPermittedChromeSchemeHosts(
44 const Extension* extension, 40 const Extension* extension,
45 const APIPermissionSet& api_permissions) const override; 41 const APIPermissionSet& api_permissions) const override;
46 bool IsScriptableURL(const GURL& url, std::string* error) const override; 42 bool IsScriptableURL(const GURL& url, std::string* error) const override;
47 bool IsAPISchemaGenerated(const std::string& name) const override; 43 bool IsAPISchemaGenerated(const std::string& name) const override;
(...skipping 22 matching lines...) Expand all
70 ScriptingWhitelist scripting_whitelist_; 66 ScriptingWhitelist scripting_whitelist_;
71 67
72 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsClient>; 68 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsClient>;
73 69
74 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsClient); 70 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsClient);
75 }; 71 };
76 72
77 } // namespace extensions 73 } // namespace extensions
78 74
79 #endif // CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ 75 #endif // CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/chrome_extensions_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698