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

Side by Side Diff: chrome/browser/extensions/api/chrome_extensions_api_client.cc

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 10 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 "chrome/browser/extensions/api/chrome_extensions_api_client.h" 5 #include "chrome/browser/extensions/api/chrome_extensions_api_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/extensions/api/chrome_device_permissions_prompt.h" 10 #include "chrome/browser/extensions/api/chrome_device_permissions_prompt.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 ExtensionOptionsGuestDelegate* 97 ExtensionOptionsGuestDelegate*
98 ChromeExtensionsAPIClient::CreateExtensionOptionsGuestDelegate( 98 ChromeExtensionsAPIClient::CreateExtensionOptionsGuestDelegate(
99 ExtensionOptionsGuest* guest) const { 99 ExtensionOptionsGuest* guest) const {
100 return new ChromeExtensionOptionsGuestDelegate(guest); 100 return new ChromeExtensionOptionsGuestDelegate(guest);
101 } 101 }
102 102
103 scoped_ptr<guest_view::GuestViewManagerDelegate> 103 scoped_ptr<guest_view::GuestViewManagerDelegate>
104 ChromeExtensionsAPIClient::CreateGuestViewManagerDelegate( 104 ChromeExtensionsAPIClient::CreateGuestViewManagerDelegate(
105 content::BrowserContext* context) const { 105 content::BrowserContext* context) const {
106 return make_scoped_ptr(new ChromeGuestViewManagerDelegate(context)); 106 return make_scoped_ptr(
107 chrome::ChromeGuestViewManagerDelegate::Create(context));
107 } 108 }
108 109
109 scoped_ptr<MimeHandlerViewGuestDelegate> 110 scoped_ptr<MimeHandlerViewGuestDelegate>
110 ChromeExtensionsAPIClient::CreateMimeHandlerViewGuestDelegate( 111 ChromeExtensionsAPIClient::CreateMimeHandlerViewGuestDelegate(
111 MimeHandlerViewGuest* guest) const { 112 MimeHandlerViewGuest* guest) const {
112 return make_scoped_ptr(new ChromeMimeHandlerViewGuestDelegate()); 113 return make_scoped_ptr(new ChromeMimeHandlerViewGuestDelegate());
113 } 114 }
114 115
115 WebViewGuestDelegate* ChromeExtensionsAPIClient::CreateWebViewGuestDelegate( 116 WebViewGuestDelegate* ChromeExtensionsAPIClient::CreateWebViewGuestDelegate(
116 WebViewGuest* web_view_guest) const { 117 WebViewGuest* web_view_guest) const {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 return nullptr; 155 return nullptr;
155 #endif 156 #endif
156 } 157 }
157 158
158 ManagementAPIDelegate* ChromeExtensionsAPIClient::CreateManagementAPIDelegate() 159 ManagementAPIDelegate* ChromeExtensionsAPIClient::CreateManagementAPIDelegate()
159 const { 160 const {
160 return new ChromeManagementAPIDelegate; 161 return new ChromeManagementAPIDelegate;
161 } 162 }
162 163
163 } // namespace extensions 164 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698