ProfilePolicyConnectorFactory: Refactoring from Profile to BrowserContext.
[chromium-blink-merge.git] / android_webview / native / permission / permission_request_handler_client.h
blob5ef44ca5a3eb0c33cc40381dba5221d92b007380
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 {
13 public:
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