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

Side by Side Diff: extensions/browser/api/extensions_api_client.cc

Issue 1169223002: [Extensions] Clean up the handling of ExtensionHostMsg_Request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 6 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 #include "extensions/browser/api/extensions_api_client.h" 5 #include "extensions/browser/api/extensions_api_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "extensions/browser/api/device_permissions_prompt.h" 8 #include "extensions/browser/api/device_permissions_prompt.h"
9 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_deleg ate.h" 9 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_deleg ate.h"
10 #include "extensions/browser/api/web_request/web_request_event_router_delegate.h " 10 #include "extensions/browser/api/web_request/web_request_event_router_delegate.h "
(...skipping 15 matching lines...) Expand all
26 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; } 26 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; }
27 27
28 void ExtensionsAPIClient::AddAdditionalValueStoreCaches( 28 void ExtensionsAPIClient::AddAdditionalValueStoreCaches(
29 content::BrowserContext* context, 29 content::BrowserContext* context,
30 const scoped_refptr<SettingsStorageFactory>& factory, 30 const scoped_refptr<SettingsStorageFactory>& factory,
31 const scoped_refptr<base::ObserverListThreadSafe<SettingsObserver>>& 31 const scoped_refptr<base::ObserverListThreadSafe<SettingsObserver>>&
32 observers, 32 observers,
33 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) { 33 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {
34 } 34 }
35 35
36 void ExtensionsAPIClient::AttachWebContentsHelpers(
37 content::WebContents* web_contents) const {
38 }
39
36 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const { 40 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const {
37 return NULL; 41 return NULL;
38 } 42 }
39 43
40 ExtensionOptionsGuestDelegate* 44 ExtensionOptionsGuestDelegate*
41 ExtensionsAPIClient::CreateExtensionOptionsGuestDelegate( 45 ExtensionsAPIClient::CreateExtensionOptionsGuestDelegate(
42 ExtensionOptionsGuest* guest) const { 46 ExtensionOptionsGuest* guest) const {
43 return NULL; 47 return NULL;
44 } 48 }
45 49
46 ExtensionViewGuestDelegate*
47 ExtensionsAPIClient::CreateExtensionViewGuestDelegate(
48 ExtensionViewGuest* guest) const {
49 return NULL;
50 }
51
52 scoped_ptr<MimeHandlerViewGuestDelegate> 50 scoped_ptr<MimeHandlerViewGuestDelegate>
53 ExtensionsAPIClient::CreateMimeHandlerViewGuestDelegate( 51 ExtensionsAPIClient::CreateMimeHandlerViewGuestDelegate(
54 MimeHandlerViewGuest* guest) const { 52 MimeHandlerViewGuest* guest) const {
55 return scoped_ptr<MimeHandlerViewGuestDelegate>(); 53 return scoped_ptr<MimeHandlerViewGuestDelegate>();
56 } 54 }
57 55
58 WebViewGuestDelegate* ExtensionsAPIClient::CreateWebViewGuestDelegate( 56 WebViewGuestDelegate* ExtensionsAPIClient::CreateWebViewGuestDelegate(
59 WebViewGuest* web_view_guest) const { 57 WebViewGuest* web_view_guest) const {
60 return NULL; 58 return NULL;
61 } 59 }
(...skipping 26 matching lines...) Expand all
88 ExtensionsAPIClient::CreateVirtualKeyboardDelegate() const { 86 ExtensionsAPIClient::CreateVirtualKeyboardDelegate() const {
89 return nullptr; 87 return nullptr;
90 } 88 }
91 89
92 ManagementAPIDelegate* ExtensionsAPIClient::CreateManagementAPIDelegate() 90 ManagementAPIDelegate* ExtensionsAPIClient::CreateManagementAPIDelegate()
93 const { 91 const {
94 return nullptr; 92 return nullptr;
95 } 93 }
96 94
97 } // namespace extensions 95 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698