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

Side by Side Diff: extensions/shell/browser/shell_extensions_browser_client.h

Issue 1035263002: Add service registration for Mojo services defined under chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync with master. Created 5 years, 8 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_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "extensions/browser/extensions_browser_client.h" 9 #include "extensions/browser/extensions_browser_client.h"
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override; 66 scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override;
67 bool DidVersionUpdate(content::BrowserContext* context) override; 67 bool DidVersionUpdate(content::BrowserContext* context) override;
68 void PermitExternalProtocolHandler() override; 68 void PermitExternalProtocolHandler() override;
69 scoped_ptr<AppSorting> CreateAppSorting() override; 69 scoped_ptr<AppSorting> CreateAppSorting() override;
70 bool IsRunningInForcedAppMode() override; 70 bool IsRunningInForcedAppMode() override;
71 ApiActivityMonitor* GetApiActivityMonitor( 71 ApiActivityMonitor* GetApiActivityMonitor(
72 content::BrowserContext* context) override; 72 content::BrowserContext* context) override;
73 ExtensionSystemProvider* GetExtensionSystemFactory() override; 73 ExtensionSystemProvider* GetExtensionSystemFactory() override;
74 void RegisterExtensionFunctions( 74 void RegisterExtensionFunctions(
75 ExtensionFunctionRegistry* registry) const override; 75 ExtensionFunctionRegistry* registry) const override;
76 void RegisterMojoServices(content::RenderFrameHost* render_frame_host,
77 const Extension* extension) const override;
76 scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 78 scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
77 content::BrowserContext* context) const override; 79 content::BrowserContext* context) const override;
78 const ComponentExtensionResourceManager* 80 const ComponentExtensionResourceManager*
79 GetComponentExtensionResourceManager() override; 81 GetComponentExtensionResourceManager() override;
80 void BroadcastEventToRenderers(const std::string& event_name, 82 void BroadcastEventToRenderers(const std::string& event_name,
81 scoped_ptr<base::ListValue> args) override; 83 scoped_ptr<base::ListValue> args) override;
82 net::NetLog* GetNetLog() override; 84 net::NetLog* GetNetLog() override;
83 ExtensionCache* GetExtensionCache() override; 85 ExtensionCache* GetExtensionCache() override;
84 bool IsBackgroundUpdateAllowed() override; 86 bool IsBackgroundUpdateAllowed() override;
85 bool IsMinBrowserVersionSupported(const std::string& min_version) override; 87 bool IsMinBrowserVersionSupported(const std::string& min_version) override;
(...skipping 13 matching lines...) Expand all
99 101
100 // The extension cache used for download and installation. 102 // The extension cache used for download and installation.
101 scoped_ptr<ExtensionCache> extension_cache_; 103 scoped_ptr<ExtensionCache> extension_cache_;
102 104
103 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 105 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
104 }; 106 };
105 107
106 } // namespace extensions 108 } // namespace extensions
107 109
108 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 110 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/test_extensions_browser_client.cc ('k') | extensions/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698