summaryrefslogtreecommitdiffstats
path: root/components/guest_view/browser/guest_view_manager_factory.h
blob: 0d127a321becda7fe201b4177b1e3f18af2ee1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_FACTORY_H_
#define COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_FACTORY_H_

namespace content {
class BrowserContext;
}

namespace guest_view {

class GuestViewManager;
class GuestViewManagerDelegate;

class GuestViewManagerFactory {
 public:
  virtual GuestViewManager* CreateGuestViewManager(
      content::BrowserContext* context,
      scoped_ptr<GuestViewManagerDelegate> delegate) = 0;

 protected:
  virtual ~GuestViewManagerFactory() {}
};

}  // namespace guest_view

#endif  // COMPONENTS_GUEST_VIEW_BROWSER_GUEST_VIEW_MANAGER_FACTORY_H_