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

Side by Side Diff: extensions/browser/extension_system.cc

Issue 1152613003: Implement sidebar support for extension action popups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move SidebarManager to ExtensionSystem and remove notifications 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/extension_system.h" 5 #include "extensions/browser/extension_system.h"
6 6
7 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 7 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
8 #include "extensions/browser/extension_system_provider.h" 8 #include "extensions/browser/extension_system_provider.h"
9 #include "extensions/browser/extensions_browser_client.h" 9 #include "extensions/browser/extensions_browser_client.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 ExtensionSystem::ExtensionSystem() { 13 ExtensionSystem::ExtensionSystem() {
14 } 14 }
15 15
16 ExtensionSystem::~ExtensionSystem() { 16 ExtensionSystem::~ExtensionSystem() {
17 } 17 }
18 18
19 // static 19 // static
20 ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) { 20 ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) {
21 return ExtensionsBrowserClient::Get() 21 return ExtensionsBrowserClient::Get()
22 ->GetExtensionSystemFactory() 22 ->GetExtensionSystemFactory()
23 ->GetForBrowserContext(context); 23 ->GetForBrowserContext(context);
24 } 24 }
25 25
26 SidebarManager* ExtensionSystem::sidebar_manager() {
27 return nullptr;
28 }
29
26 } // namespace extensions 30 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698