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 #ifndef ANDROID_WEBVIEW_NATIVE_PERMISSION_PERMISSION_REQUEST_HANDLER_CLIENT_H
6 #define ANDROID_WEBVIEW_NATIVE_PERMISSION_PERMISSION_REQUEST_HANDLER_CLIENT_H
8 namespace android_webview
{
10 class AwPermissionRequest
;
12 class PermissionRequestHandlerClient
{
14 PermissionRequestHandlerClient();
15 virtual ~PermissionRequestHandlerClient();
17 virtual void OnPermissionRequest(AwPermissionRequest
* request
) = 0;
18 virtual void OnPermissionRequestCanceled(AwPermissionRequest
* request
) = 0;
21 } // namespace android_webivew
23 #endif // ANDROID_WEBVIEW_NATIVE_PERMISSION_PERMISSION_REQUEST_HANDLER_CLIENT_H