| 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 guest_view { |
| 13 class GuestViewManagerDelegate; | |
| 14 } // namespace guestview | |
| 15 | |
| 16 namespace extensions { | |
| 17 | 13 |
| 18 class GuestViewManager; | 14 class GuestViewManager; |
| 15 class GuestViewManagerDelegate; |
| 19 | 16 |
| 20 class GuestViewManagerFactory { | 17 class GuestViewManagerFactory { |
| 21 public: | 18 public: |
| 22 virtual GuestViewManager* CreateGuestViewManager( | 19 virtual GuestViewManager* CreateGuestViewManager( |
| 23 content::BrowserContext* context, | 20 content::BrowserContext* context, |
| 24 scoped_ptr<guestview::GuestViewManagerDelegate> delegate) = 0; | 21 scoped_ptr<GuestViewManagerDelegate> delegate) = 0; |
| 25 | 22 |
| 26 protected: | 23 protected: |
| 27 virtual ~GuestViewManagerFactory() {} | 24 virtual ~GuestViewManagerFactory() {} |
| 28 }; | 25 }; |
| 29 | 26 |
| 30 } // namespace extensions | 27 } // namespace guest_view |
| 31 | 28 |
| 32 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_FACTORY_H_ | 29 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_FACTORY_H_ |
| 33 | 30 |
| OLD | NEW |