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

Side by Side Diff: extensions/shell/common/shell_extensions_client.h

Issue 2266673002: [Extensions] Remove mechanism for non-generated schemas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lazyboys 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
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_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_
6 #define EXTENSIONS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_ 6 #define EXTENSIONS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "extensions/common/extensions_client.h" 10 #include "extensions/common/extensions_client.h"
(...skipping 20 matching lines...) Expand all
31 URLPatternSet* new_hosts, 31 URLPatternSet* new_hosts,
32 PermissionIDSet* permissions) const override; 32 PermissionIDSet* permissions) const override;
33 void SetScriptingWhitelist(const ScriptingWhitelist& whitelist) override; 33 void SetScriptingWhitelist(const ScriptingWhitelist& whitelist) override;
34 const ScriptingWhitelist& GetScriptingWhitelist() const override; 34 const ScriptingWhitelist& GetScriptingWhitelist() const override;
35 URLPatternSet GetPermittedChromeSchemeHosts( 35 URLPatternSet GetPermittedChromeSchemeHosts(
36 const Extension* extension, 36 const Extension* extension,
37 const APIPermissionSet& api_permissions) const override; 37 const APIPermissionSet& api_permissions) const override;
38 bool IsScriptableURL(const GURL& url, std::string* error) const override; 38 bool IsScriptableURL(const GURL& url, std::string* error) const override;
39 bool IsAPISchemaGenerated(const std::string& name) const override; 39 bool IsAPISchemaGenerated(const std::string& name) const override;
40 base::StringPiece GetAPISchema(const std::string& name) const override; 40 base::StringPiece GetAPISchema(const std::string& name) const override;
41 void RegisterAPISchemaResources(ExtensionAPI* api) const override;
42 bool ShouldSuppressFatalErrors() const override; 41 bool ShouldSuppressFatalErrors() const override;
43 void RecordDidSuppressFatalError() override; 42 void RecordDidSuppressFatalError() override;
44 std::string GetWebstoreBaseURL() const override; 43 std::string GetWebstoreBaseURL() const override;
45 std::string GetWebstoreUpdateURL() const override; 44 std::string GetWebstoreUpdateURL() const override;
46 bool IsBlacklistUpdateURL(const GURL& url) const override; 45 bool IsBlacklistUpdateURL(const GURL& url) const override;
47 46
48 private: 47 private:
49 const ExtensionsAPIPermissions extensions_api_permissions_; 48 const ExtensionsAPIPermissions extensions_api_permissions_;
50 49
51 ScriptingWhitelist scripting_whitelist_; 50 ScriptingWhitelist scripting_whitelist_;
52 51
53 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsClient); 52 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsClient);
54 }; 53 };
55 54
56 } // namespace extensions 55 } // namespace extensions
57 56
58 #endif // EXTENSIONS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_ 57 #endif // EXTENSIONS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/common/extensions_client.h ('k') | extensions/shell/common/shell_extensions_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698