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

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

Issue 556563003: Move ExtensionOptionsGuest code from chrome to extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn 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 #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/guest_view/mime_handler_view/mime_handler_view_gues t_delegate.h" 8 #include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_gues t_delegate.h"
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 13 matching lines...) Expand all
24 void ExtensionsAPIClient::AddAdditionalValueStoreCaches( 24 void ExtensionsAPIClient::AddAdditionalValueStoreCaches(
25 content::BrowserContext* context, 25 content::BrowserContext* context,
26 const scoped_refptr<SettingsStorageFactory>& factory, 26 const scoped_refptr<SettingsStorageFactory>& factory,
27 const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers, 27 const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers,
28 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {} 28 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {}
29 29
30 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const { 30 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const {
31 return NULL; 31 return NULL;
32 } 32 }
33 33
34 ExtensionOptionsGuestDelegate*
35 ExtensionsAPIClient::CreateExtensionOptionsGuestDelegate() const {
36 return NULL;
37 }
38
34 scoped_ptr<MimeHandlerViewGuestDelegate> 39 scoped_ptr<MimeHandlerViewGuestDelegate>
35 ExtensionsAPIClient::CreateMimeHandlerViewGuestDelegate( 40 ExtensionsAPIClient::CreateMimeHandlerViewGuestDelegate(
36 MimeHandlerViewGuest* guest) const { 41 MimeHandlerViewGuest* guest) const {
37 return scoped_ptr<MimeHandlerViewGuestDelegate>(); 42 return scoped_ptr<MimeHandlerViewGuestDelegate>();
38 } 43 }
39 44
40 WebViewGuestDelegate* ExtensionsAPIClient::CreateWebViewGuestDelegate( 45 WebViewGuestDelegate* ExtensionsAPIClient::CreateWebViewGuestDelegate(
41 WebViewGuest* web_view_guest) const { 46 WebViewGuest* web_view_guest) const {
42 return NULL; 47 return NULL;
43 } 48 }
44 49
45 WebViewPermissionHelperDelegate* ExtensionsAPIClient:: 50 WebViewPermissionHelperDelegate* ExtensionsAPIClient::
46 CreateWebViewPermissionHelperDelegate( 51 CreateWebViewPermissionHelperDelegate(
47 WebViewPermissionHelper* web_view_permission_helper) const { 52 WebViewPermissionHelper* web_view_permission_helper) const {
48 return NULL; 53 return NULL;
49 } 54 }
50 55
51 scoped_refptr<RulesRegistry> ExtensionsAPIClient::GetRulesRegistry( 56 scoped_refptr<RulesRegistry> ExtensionsAPIClient::GetRulesRegistry(
52 content::BrowserContext* browser_context, 57 content::BrowserContext* browser_context,
53 const RulesRegistry::WebViewKey& webview_key, 58 const RulesRegistry::WebViewKey& webview_key,
54 const std::string& event_name) { 59 const std::string& event_name) {
55 return scoped_refptr<RulesRegistry>(); 60 return scoped_refptr<RulesRegistry>();
56 } 61 }
57 62
58 } // namespace extensions 63 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/extensions_api_client.h ('k') | extensions/browser/guest_view/extension_options/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698