Allow only one bookmark to be added for multiple fast starring
[chromium-blink-merge.git] / extensions / browser / guest_view / web_view / web_view_permission_helper_delegate.cc
blob1ce7c289b0d90b6bba7849885f231ba79ea6c0fe
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.
5 #include "extensions/browser/guest_view/web_view/web_view_permission_helper_delegate.h"
7 #include "extensions/browser/guest_view/web_view/web_view_guest.h"
9 namespace extensions {
11 WebViewPermissionHelperDelegate::WebViewPermissionHelperDelegate(
12 WebViewPermissionHelper* web_view_permission_helper)
13 : content::WebContentsObserver(
14 web_view_permission_helper->web_view_guest()->web_contents()),
15 web_view_permission_helper_(web_view_permission_helper) {
18 WebViewPermissionHelperDelegate::~WebViewPermissionHelperDelegate() {
21 } // namespace extensions