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

Side by Side Diff: extensions/browser/guest_view/guest_view_manager_factory.h

Issue 1066563006: GuestView: Move GuestViewManager extension dependencies to ExtensionsGuestViewManagerDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@extensions_guest_view_message_filter
Patch Set: Fixed more tests Created 5 years, 8 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 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_
7 7
8 namespace content { 8 namespace content {
9 class BrowserContext; 9 class BrowserContext;
10 } 10 }
11 11
12 namespace guestview {
13 class GuestViewManagerDelegate;
14 } // namespace guestview
15
12 namespace extensions { 16 namespace extensions {
13 17
14 class GuestViewManager; 18 class GuestViewManager;
15 19
16 class GuestViewManagerFactory { 20 class GuestViewManagerFactory {
17 public: 21 public:
18 virtual GuestViewManager* CreateGuestViewManager( 22 virtual GuestViewManager* CreateGuestViewManager(
19 content::BrowserContext* context) = 0; 23 content::BrowserContext* context,
24 scoped_ptr<guestview::GuestViewManagerDelegate> delegate) = 0;
20 25
21 protected: 26 protected:
22 virtual ~GuestViewManagerFactory() {} 27 virtual ~GuestViewManagerFactory() {}
23 }; 28 };
24 29
25 } // namespace extensions 30 } // namespace extensions
26 31
27 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ 32 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_
28 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698