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

Side by Side Diff: chrome/browser/extensions/extension_view_host_factory.cc

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/extension_view_host_factory.h" 5 #include "chrome/browser/extensions/extension_view_host_factory.h"
6 6
7 #include "chrome/browser/extensions/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/extensions/extension_system.h"
9 #include "chrome/browser/extensions/extension_util.h" 8 #include "chrome/browser/extensions/extension_util.h"
10 #include "chrome/browser/extensions/extension_view_host.h" 9 #include "chrome/browser/extensions/extension_view_host.h"
11 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
13 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "extensions/browser/extension_system.h"
14 #include "extensions/browser/process_manager.h" 14 #include "extensions/browser/process_manager.h"
15 #include "extensions/common/manifest_handlers/incognito_info.h" 15 #include "extensions/common/manifest_handlers/incognito_info.h"
16 #include "extensions/common/view_type.h" 16 #include "extensions/common/view_type.h"
17 17
18 #if defined(OS_MACOSX) 18 #if defined(OS_MACOSX)
19 #include "chrome/browser/extensions/extension_view_host_mac.h" 19 #include "chrome/browser/extensions/extension_view_host_mac.h"
20 #endif 20 #endif
21 21
22 namespace extensions { 22 namespace extensions {
23 23
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 // static 131 // static
132 ExtensionViewHost* ExtensionViewHostFactory::CreateDialogHost( 132 ExtensionViewHost* ExtensionViewHostFactory::CreateDialogHost(
133 const GURL& url, 133 const GURL& url,
134 Profile* profile) { 134 Profile* profile) {
135 DCHECK(profile); 135 DCHECK(profile);
136 return CreateViewHost(url, profile, NULL, VIEW_TYPE_EXTENSION_DIALOG); 136 return CreateViewHost(url, profile, NULL, VIEW_TYPE_EXTENSION_DIALOG);
137 } 137 }
138 138
139 } // namespace extensions 139 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_view_host.cc ('k') | chrome/browser/extensions/extension_warning_badge_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698