Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / guest_view / chrome_guest_view_manager_delegate.h
blobb2f345f09c10eb808c10a0264cc488d82104de54
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 CHROME_BROWSER_GUEST_VIEW_CHROME_GUEST_VIEW_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_GUEST_VIEW_CHROME_GUEST_VIEW_MANAGER_DELEGATE_H_
8 #include "extensions/browser/guest_view/extensions_guest_view_manager_delegate.h"
10 namespace extensions {
12 // Defines a chrome-specific implementation of
13 // ExtensionsGuestViewManagerDelegate that knows about the concept of a task
14 // manager and the need for tagging the guest view WebContents by their
15 // appropriate task manager tag.
16 class ChromeGuestViewManagerDelegate
17 : public ExtensionsGuestViewManagerDelegate {
18 public:
19 explicit ChromeGuestViewManagerDelegate(content::BrowserContext* context);
20 ~ChromeGuestViewManagerDelegate() override;
22 // GuestViewManagerDelegate:
23 void AttachTaskManagerGuestTag(
24 content::WebContents* guest_web_contents) const override;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ChromeGuestViewManagerDelegate);
30 } // namespace extensions
32 #endif // CHROME_BROWSER_GUEST_VIEW_CHROME_GUEST_VIEW_MANAGER_DELEGATE_H_