| 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_PERMISSION_REQUEST_HANDLER_H | 5 #ifndef ANDROID_WEBVIEW_BROWSER_PERMISSION_PERMISSION_REQUEST_HANDLER_H_ |
| 6 #define ANDROID_WEBVIEW_NATIVE_PERMISSION_PERMISSION_REQUEST_HANDLER_H | 6 #define ANDROID_WEBVIEW_BROWSER_PERMISSION_PERMISSION_REQUEST_HANDLER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "content/public/browser/web_contents_observer.h" | 16 #include "content/public/browser/web_contents_observer.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 std::map<std::string, int64_t> preauthorized_permission_; | 73 std::map<std::string, int64_t> preauthorized_permission_; |
| 74 | 74 |
| 75 // The unique id of the active NavigationEntry of the WebContents that we were | 75 // The unique id of the active NavigationEntry of the WebContents that we were |
| 76 // opened for. Used to help expire on requests. | 76 // opened for. Used to help expire on requests. |
| 77 int contents_unique_id_; | 77 int contents_unique_id_; |
| 78 | 78 |
| 79 DISALLOW_COPY_AND_ASSIGN(PermissionRequestHandler); | 79 DISALLOW_COPY_AND_ASSIGN(PermissionRequestHandler); |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // namespace android_webivew | 82 } // namespace android_webview |
| 83 | 83 |
| 84 #endif // ANDROID_WEBVIEW_NATIVE_PERMISSION_PERMISSION_REQUEST_HANDLER_H | 84 #endif // ANDROID_WEBVIEW_BROWSER_PERMISSION_PERMISSION_REQUEST_HANDLER_H_ |
| OLD | NEW |