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

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

Issue 575113002: Move Webstore URL concepts to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ENABLE_EXTENSIONS guard in core chrome code Created 6 years, 3 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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "extensions/common/extensions_client.h" 10 #include "extensions/common/extensions_client.h"
(...skipping 26 matching lines...) Expand all
37 virtual URLPatternSet GetPermittedChromeSchemeHosts( 37 virtual URLPatternSet GetPermittedChromeSchemeHosts(
38 const Extension* extension, 38 const Extension* extension,
39 const APIPermissionSet& api_permissions) const OVERRIDE; 39 const APIPermissionSet& api_permissions) const OVERRIDE;
40 virtual bool IsScriptableURL(const GURL& url, 40 virtual bool IsScriptableURL(const GURL& url,
41 std::string* error) const OVERRIDE; 41 std::string* error) const OVERRIDE;
42 virtual bool IsAPISchemaGenerated(const std::string& name) const OVERRIDE; 42 virtual bool IsAPISchemaGenerated(const std::string& name) const OVERRIDE;
43 virtual base::StringPiece GetAPISchema( 43 virtual base::StringPiece GetAPISchema(
44 const std::string& name) const OVERRIDE; 44 const std::string& name) const OVERRIDE;
45 virtual void RegisterAPISchemaResources(ExtensionAPI* api) const OVERRIDE; 45 virtual void RegisterAPISchemaResources(ExtensionAPI* api) const OVERRIDE;
46 virtual bool ShouldSuppressFatalErrors() const OVERRIDE; 46 virtual bool ShouldSuppressFatalErrors() const OVERRIDE;
47 virtual std::string GetWebstoreBaseURL() const OVERRIDE;
48 virtual std::string GetWebstoreUpdateURL() const OVERRIDE;
49 virtual bool IsBlacklistUpdateURL(const GURL& url) const OVERRIDE;
47 50
48 private: 51 private:
49 const ExtensionsAPIPermissions extensions_api_permissions_; 52 const ExtensionsAPIPermissions extensions_api_permissions_;
50 53
51 ScriptingWhitelist scripting_whitelist_; 54 ScriptingWhitelist scripting_whitelist_;
52 55
53 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsClient); 56 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsClient);
54 }; 57 };
55 58
56 } // namespace extensions 59 } // namespace extensions
57 60
58 #endif // EXTENSIONS_SHELL_COMMON_SHELL_EXTENSIONS_CLIENT_H_ 61 #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