Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1993)

Unified Diff: android_webview/native/permission/aw_permission_request_delegate.h

Issue 268543005: Revert of Handle media access permission request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/native/permission/aw_permission_request_delegate.h
diff --git a/android_webview/native/permission/aw_permission_request_delegate.h b/android_webview/native/permission/aw_permission_request_delegate.h
deleted file mode 100644
index 476fa8f9efc1f2b2847ec69466cdca4a205abad4..0000000000000000000000000000000000000000
--- a/android_webview/native/permission/aw_permission_request_delegate.h
+++ /dev/null
@@ -1,36 +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.
-
-#ifndef ANDROID_WEBVIEW_NATIVE_PERMISSION_AW_PERMISSION_REQUEST_DELEGATE_H
-#define ANDROID_WEBVIEW_NATIVE_PERMISSION_AW_PERMISSION_REQUEST_DELEGATE_H
-
-#include "base/android/jni_helper.h"
-#include "base/android/scoped_java_ref.h"
-#include "base/callback.h"
-#include "base/memory/ref_counted.h"
-#include "url/gurl.h"
-
-namespace android_webview {
-
-// The delegate interface to be implemented for a specific permission request.
-class AwPermissionRequestDelegate {
- public:
- AwPermissionRequestDelegate();
- virtual ~AwPermissionRequestDelegate();
-
- // Get the origin which initiated the permission request.
- virtual const GURL& GetOrigin() = 0;
-
- // Get the resources the origin wanted to access.
- virtual int64 GetResources() = 0;
-
- // Notify the permission request is allowed or not.
- virtual void NotifyRequestResult(bool allowed) = 0;
-
- DISALLOW_COPY_AND_ASSIGN(AwPermissionRequestDelegate);
-};
-
-} // namespace android_webivew
-
-#endif // ANDROID_WEBVIEW_NATIVE_PERMISSION_AW_PERMISSION_REQUEST_DELEGATE_H

Powered by Google App Engine
This is Rietveld 408576698