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 3 // found in the LICENSE file. 4 5 #ifndef COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_FACTORY_H_ 6 #define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_FACTORY_H_ 7 8 #include <memory> 9 10 namespace content { 11 class BrowserContext; 12 } 13 14 namespace guest_view { 15 16 class GuestViewManager; 17 class GuestViewManagerDelegate; 18 19 class GuestViewManagerFactory { 20 public: 21 virtual GuestViewManager* CreateGuestViewManager( 22 content::BrowserContext* context, 23 std::unique_ptr<GuestViewManagerDelegate> delegate) = 0; 24 25 protected: ~GuestViewManagerFactory()26 virtual ~GuestViewManagerFactory() {} 27 }; 28 29 } // namespace guest_view 30 31 #endif // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_FACTORY_H_ 32 33