OLD | NEW |
---|---|
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 COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_FACTORY_H_ |
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ | 6 #define COMPONENTS_GUEST_VIEW_BROWSER_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 { | 12 namespace guestview { |
13 class GuestViewManagerDelegate; | 13 class GuestViewManagerDelegate; |
14 } // namespace guestview | 14 } // namespace guestview |
15 | 15 |
16 namespace extensions { | 16 namespace guestview { |
lazyboy
2015/04/30 19:31:07
This namespace should be merged with previous one.
Fady Samuel
2015/04/30 23:26:04
Done.
| |
17 | 17 |
18 class GuestViewManager; | 18 class GuestViewManager; |
19 class GuestViewManagerDelegate; | |
19 | 20 |
20 class GuestViewManagerFactory { | 21 class GuestViewManagerFactory { |
21 public: | 22 public: |
22 virtual GuestViewManager* CreateGuestViewManager( | 23 virtual GuestViewManager* CreateGuestViewManager( |
23 content::BrowserContext* context, | 24 content::BrowserContext* context, |
24 scoped_ptr<guestview::GuestViewManagerDelegate> delegate) = 0; | 25 scoped_ptr<guestview::GuestViewManagerDelegate> delegate) = 0; |
25 | 26 |
26 protected: | 27 protected: |
27 virtual ~GuestViewManagerFactory() {} | 28 virtual ~GuestViewManagerFactory() {} |
28 }; | 29 }; |
29 | 30 |
30 } // namespace extensions | 31 } // namespace guestview |
31 | 32 |
32 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ | 33 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_FACTORY_H_ |
33 | 34 |
OLD | NEW |