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

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

Issue 354483004: Implement <appview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: Fixed formatting Created 6 years, 5 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 namespace extensions { 7 namespace extensions {
8 namespace { 8 namespace {
9 9
10 ExtensionsAPIClient* g_instance = NULL; 10 ExtensionsAPIClient* g_instance = NULL;
11 11
12 } // namespace 12 } // namespace
13 13
14 ExtensionsAPIClient::ExtensionsAPIClient() { g_instance = this; } 14 ExtensionsAPIClient::ExtensionsAPIClient() { g_instance = this; }
15 15
16 ExtensionsAPIClient::~ExtensionsAPIClient() { g_instance = NULL; } 16 ExtensionsAPIClient::~ExtensionsAPIClient() { g_instance = NULL; }
17 17
18 // static 18 // static
19 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; } 19 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; }
20 20
21 void ExtensionsAPIClient::AddAdditionalValueStoreCaches( 21 void ExtensionsAPIClient::AddAdditionalValueStoreCaches(
22 content::BrowserContext* context, 22 content::BrowserContext* context,
23 const scoped_refptr<SettingsStorageFactory>& factory, 23 const scoped_refptr<SettingsStorageFactory>& factory,
24 const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers, 24 const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers,
25 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {} 25 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {}
26 26
27 bool ExtensionsAPIClient::AppViewInternalAttachFrame(
28 content::BrowserContext* browser_context,
29 const GURL& url,
30 int guest_instance_id,
31 const std::string& guest_extension_id) {
32 return false;
33 }
34
35 bool ExtensionsAPIClient::AppViewInternalDenyRequest(
36 content::BrowserContext* browser_context,
37 int guest_instance_id,
38 const std::string& guest_extension_id) {
39 return false;
40 }
41
27 } // namespace extensions 42 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/extensions_api_client.h ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698