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

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

Issue 2165023003: [Extensions] Use compiled feature files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 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 <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 13 matching lines...) Expand all
24 ChromeExtensionsClient(); 24 ChromeExtensionsClient();
25 ~ChromeExtensionsClient() override; 25 ~ChromeExtensionsClient() override;
26 26
27 void Initialize() override; 27 void Initialize() override;
28 28
29 const PermissionMessageProvider& GetPermissionMessageProvider() 29 const PermissionMessageProvider& GetPermissionMessageProvider()
30 const override; 30 const override;
31 const std::string GetProductName() override; 31 const std::string GetProductName() override;
32 std::unique_ptr<FeatureProvider> CreateFeatureProvider( 32 std::unique_ptr<FeatureProvider> CreateFeatureProvider(
33 const std::string& name) const override; 33 const std::string& name) const override;
34 std::unique_ptr<JSONFeatureProviderSource> CreateFeatureProviderSource( 34 std::unique_ptr<JSONFeatureProviderSource> CreateAPIFeatureSource()
35 const std::string& name) const override; 35 const override;
36 void FilterHostPermissions(const URLPatternSet& hosts, 36 void FilterHostPermissions(const URLPatternSet& hosts,
37 URLPatternSet* new_hosts, 37 URLPatternSet* new_hosts,
38 PermissionIDSet* permissions) const override; 38 PermissionIDSet* permissions) const override;
39 void SetScriptingWhitelist(const ScriptingWhitelist& whitelist) override; 39 void SetScriptingWhitelist(const ScriptingWhitelist& whitelist) override;
40 const ScriptingWhitelist& GetScriptingWhitelist() const override; 40 const ScriptingWhitelist& GetScriptingWhitelist() const override;
41 URLPatternSet GetPermittedChromeSchemeHosts( 41 URLPatternSet GetPermittedChromeSchemeHosts(
42 const Extension* extension, 42 const Extension* extension,
43 const APIPermissionSet& api_permissions) const override; 43 const APIPermissionSet& api_permissions) const override;
44 bool IsScriptableURL(const GURL& url, std::string* error) const override; 44 bool IsScriptableURL(const GURL& url, std::string* error) const override;
45 bool IsAPISchemaGenerated(const std::string& name) const override; 45 bool IsAPISchemaGenerated(const std::string& name) const override;
(...skipping 23 matching lines...) Expand all
69 ScriptingWhitelist scripting_whitelist_; 69 ScriptingWhitelist scripting_whitelist_;
70 70
71 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsClient>; 71 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsClient>;
72 72
73 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsClient); 73 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsClient);
74 }; 74 };
75 75
76 } // namespace extensions 76 } // namespace extensions
77 77
78 #endif // CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_ 78 #endif // CHROME_COMMON_EXTENSIONS_CHROME_EXTENSIONS_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/schemas.gni ('k') | chrome/common/extensions/chrome_extensions_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698