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

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

Issue 554893002: [WORK_IN_PROGRESS] PDF::Save() fix for out-of-process-pdf. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better fix for constrained windows 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 9
9 namespace extensions { 10 namespace extensions {
10 class AppViewGuestDelegate; 11 class AppViewGuestDelegate;
11 12
12 namespace { 13 namespace {
13 ExtensionsAPIClient* g_instance = NULL; 14 ExtensionsAPIClient* g_instance = NULL;
14 } // namespace 15 } // namespace
15 16
16 ExtensionsAPIClient::ExtensionsAPIClient() { g_instance = this; } 17 ExtensionsAPIClient::ExtensionsAPIClient() { g_instance = this; }
17 18
18 ExtensionsAPIClient::~ExtensionsAPIClient() { g_instance = NULL; } 19 ExtensionsAPIClient::~ExtensionsAPIClient() { g_instance = NULL; }
19 20
20 // static 21 // static
21 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; } 22 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; }
22 23
23 void ExtensionsAPIClient::AddAdditionalValueStoreCaches( 24 void ExtensionsAPIClient::AddAdditionalValueStoreCaches(
24 content::BrowserContext* context, 25 content::BrowserContext* context,
25 const scoped_refptr<SettingsStorageFactory>& factory, 26 const scoped_refptr<SettingsStorageFactory>& factory,
26 const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers, 27 const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers,
27 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {} 28 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {}
28 29
29 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const { 30 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const {
30 return NULL; 31 return NULL;
31 } 32 }
32 33
34 scoped_ptr<MimeHandlerViewGuestDelegate>
35 ExtensionsAPIClient::CreateMimeHandlerViewGuestDelegate() const {
36 return scoped_ptr<MimeHandlerViewGuestDelegate>();
37 }
38
33 WebViewGuestDelegate* ExtensionsAPIClient::CreateWebViewGuestDelegate( 39 WebViewGuestDelegate* ExtensionsAPIClient::CreateWebViewGuestDelegate(
34 WebViewGuest* web_view_guest) const { 40 WebViewGuest* web_view_guest) const {
35 return NULL; 41 return NULL;
36 } 42 }
37 43
38 WebViewPermissionHelperDelegate* ExtensionsAPIClient:: 44 WebViewPermissionHelperDelegate* ExtensionsAPIClient::
39 CreateWebViewPermissionHelperDelegate( 45 CreateWebViewPermissionHelperDelegate(
40 WebViewPermissionHelper* web_view_permission_helper) const { 46 WebViewPermissionHelper* web_view_permission_helper) const {
41 return NULL; 47 return NULL;
42 } 48 }
43 49
44 } // namespace extensions 50 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698