OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ANDROID_WEBVIEW_NATIVE_PERMISSION_SIMPLE_PERMISSION_REQUEST_H | 5 #ifndef ANDROID_WEBVIEW_BROWSER_PERMISSION_SIMPLE_PERMISSION_REQUEST_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_PERMISSION_SIMPLE_PERMISSION_REQUEST_H | 6 #define ANDROID_WEBVIEW_BROWSER_PERMISSION_SIMPLE_PERMISSION_REQUEST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "android_webview/browser/permission/aw_permission_request_delegate.h" | 10 #include "android_webview/browser/permission/aw_permission_request_delegate.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 | 13 |
14 namespace android_webview { | 14 namespace android_webview { |
15 | 15 |
16 // The class is used to handle the simple permission request which just needs | 16 // The class is used to handle the simple permission request which just needs |
(...skipping 13 matching lines...) Expand all Loading... |
30 private: | 30 private: |
31 const GURL origin_; | 31 const GURL origin_; |
32 int64_t resources_; | 32 int64_t resources_; |
33 const base::Callback<void(bool)> callback_; | 33 const base::Callback<void(bool)> callback_; |
34 | 34 |
35 DISALLOW_COPY_AND_ASSIGN(SimplePermissionRequest); | 35 DISALLOW_COPY_AND_ASSIGN(SimplePermissionRequest); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace android_webview | 38 } // namespace android_webview |
39 | 39 |
40 #endif // ANDROID_WEBVIEW_NATIVE_PERMISSION_PROTECTED_MEDIA_ID_PERMISSION_REQUE
ST_H | 40 #endif // ANDROID_WEBVIEW_BROWSER_PERMISSION_SIMPLE_PERMISSION_REQUEST_H_ |
OLD | NEW |