Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / extensions / browser / guest_view / extension_view / extension_view_guest_delegate.h
blob6f5a2daf519f8a92dcb9c8028e8446cf7ee26d42
1 // Copyright 2015 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.
5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_DELEGATE_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_DELEGATE_H_
8 #include "base/macros.h"
10 namespace extensions {
12 class ExtensionViewGuest;
14 // Interface to handle communication between ExtensionViewGuest and
15 // the browser.
16 class ExtensionViewGuestDelegate {
17 public:
18 explicit ExtensionViewGuestDelegate(ExtensionViewGuest* guest);
19 virtual ~ExtensionViewGuestDelegate();
21 // Called from ExtensionViewGuest::DidInitialize().
22 virtual void DidInitialize() = 0;
24 ExtensionViewGuest* extension_view_guest() const { return guest_; }
26 private:
27 ExtensionViewGuest* const guest_;
29 DISALLOW_COPY_AND_ASSIGN(ExtensionViewGuestDelegate);
32 } // namespace extensions
34 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_VIEW_EXTENSION_VIEW_GUEST_DELEGATE_H_