| Index: Source/web/PushPermissionClientImpl.cpp
|
| diff --git a/Source/web/PushPermissionClientImpl.cpp b/Source/web/PushPermissionClientImpl.cpp
|
| deleted file mode 100644
|
| index 731bf49d72f12aa98050b8bdd2b8bf707e79375f..0000000000000000000000000000000000000000
|
| --- a/Source/web/PushPermissionClientImpl.cpp
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -// 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.
|
| -
|
| -#include "config.h"
|
| -#include "web/PushPermissionClientImpl.h"
|
| -
|
| -#include "core/dom/Document.h"
|
| -#include "core/dom/ExecutionContext.h"
|
| -#include "public/web/WebFrameClient.h"
|
| -#include "web/WebLocalFrameImpl.h"
|
| -
|
| -namespace blink {
|
| -
|
| -PassOwnPtrWillBeRawPtr<PushPermissionClientImpl> PushPermissionClientImpl::create()
|
| -{
|
| - return adoptPtrWillBeNoop(new PushPermissionClientImpl());
|
| -}
|
| -
|
| -PushPermissionClientImpl::PushPermissionClientImpl()
|
| -{
|
| -}
|
| -
|
| -PushPermissionClientImpl::~PushPermissionClientImpl()
|
| -{
|
| -}
|
| -
|
| -void PushPermissionClientImpl::requestPermission(ExecutionContext* context, WebCallback* callback)
|
| -{
|
| - ASSERT(context && context->isDocument());
|
| -
|
| - Document* document = toDocument(context);
|
| - WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame());
|
| -
|
| - webFrame->client()->requestPushPermission(callback);
|
| -}
|
| -
|
| -} // namespace blink
|
|
|