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

Side by Side Diff: extensions/test/test_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, 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 | « extensions/test/test_api.gyp ('k') | extensions/test/test_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_TEST_TEST_EXTENSIONS_CLIENT_H_ 5 #ifndef EXTENSIONS_TEST_TEST_EXTENSIONS_CLIENT_H_
6 #define EXTENSIONS_TEST_TEST_EXTENSIONS_CLIENT_H_ 6 #define EXTENSIONS_TEST_TEST_EXTENSIONS_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "extensions/common/extensions_client.h" 9 #include "extensions/common/extensions_client.h"
10 10
(...skipping 15 matching lines...) Expand all
26 void AddBrowserImagePathsFilter(BrowserImagePathsFilter* filter); 26 void AddBrowserImagePathsFilter(BrowserImagePathsFilter* filter);
27 void RemoveBrowserImagePathsFilter(BrowserImagePathsFilter* filter); 27 void RemoveBrowserImagePathsFilter(BrowserImagePathsFilter* filter);
28 28
29 private: 29 private:
30 void Initialize() override; 30 void Initialize() override;
31 const PermissionMessageProvider& GetPermissionMessageProvider() 31 const PermissionMessageProvider& GetPermissionMessageProvider()
32 const override; 32 const override;
33 const std::string GetProductName() override; 33 const std::string GetProductName() override;
34 std::unique_ptr<FeatureProvider> CreateFeatureProvider( 34 std::unique_ptr<FeatureProvider> CreateFeatureProvider(
35 const std::string& name) const override; 35 const std::string& name) const override;
36 std::unique_ptr<JSONFeatureProviderSource> CreateFeatureProviderSource( 36 std::unique_ptr<JSONFeatureProviderSource> CreateAPIFeatureSource()
37 const std::string& name) const override; 37 const override;
38 void FilterHostPermissions(const URLPatternSet& hosts, 38 void FilterHostPermissions(const URLPatternSet& hosts,
39 URLPatternSet* new_hosts, 39 URLPatternSet* new_hosts,
40 PermissionIDSet* permissions) const override; 40 PermissionIDSet* permissions) const override;
41 void SetScriptingWhitelist(const ScriptingWhitelist& whitelist) override; 41 void SetScriptingWhitelist(const ScriptingWhitelist& whitelist) override;
42 const ScriptingWhitelist& GetScriptingWhitelist() const override; 42 const ScriptingWhitelist& GetScriptingWhitelist() const override;
43 URLPatternSet GetPermittedChromeSchemeHosts( 43 URLPatternSet GetPermittedChromeSchemeHosts(
44 const Extension* extension, 44 const Extension* extension,
45 const APIPermissionSet& api_permissions) const override; 45 const APIPermissionSet& api_permissions) const override;
46 bool IsScriptableURL(const GURL& url, std::string* error) const override; 46 bool IsScriptableURL(const GURL& url, std::string* error) const override;
47 bool IsAPISchemaGenerated(const std::string& name) const override; 47 bool IsAPISchemaGenerated(const std::string& name) const override;
(...skipping 14 matching lines...) Expand all
62 ScriptingWhitelist scripting_whitelist_; 62 ScriptingWhitelist scripting_whitelist_;
63 63
64 std::set<BrowserImagePathsFilter*> browser_image_filters_; 64 std::set<BrowserImagePathsFilter*> browser_image_filters_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(TestExtensionsClient); 66 DISALLOW_COPY_AND_ASSIGN(TestExtensionsClient);
67 }; 67 };
68 68
69 } // namespace extensions 69 } // namespace extensions
70 70
71 #endif // EXTENSIONS_TEST_TEST_EXTENSIONS_CLIENT_H_ 71 #endif // EXTENSIONS_TEST_TEST_EXTENSIONS_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/test/test_api.gyp ('k') | extensions/test/test_extensions_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698