Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ | 5 #ifndef ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ |
| 6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ | 6 #define ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_DELEGATE_H _ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 80 int render_frame_id, | 80 int render_frame_id, |
| 81 IoThreadClientThrottle* pending_throttle); | 81 IoThreadClientThrottle* pending_throttle); |
| 82 void AddExtraHeadersIfNeeded(net::URLRequest* request, | 82 void AddExtraHeadersIfNeeded(net::URLRequest* request, |
| 83 content::ResourceContext* resource_context); | 83 content::ResourceContext* resource_context); |
| 84 | 84 |
| 85 // Pair of render_process_id and render_frame_id. | 85 // Pair of render_process_id and render_frame_id. |
| 86 typedef std::pair<int, int> FrameRouteIDPair; | 86 typedef std::pair<int, int> FrameRouteIDPair; |
| 87 typedef std::map<FrameRouteIDPair, IoThreadClientThrottle*> | 87 typedef std::map<FrameRouteIDPair, IoThreadClientThrottle*> |
| 88 PendingThrottleMap; | 88 PendingThrottleMap; |
| 89 | 89 |
| 90 bool safebrowsing_support_enabled; | |
|
sgurun-gerrit only
2017/01/16 15:11:19
private variables need _
timvolodine
2017/01/16 18:58:57
Done.
| |
| 91 | |
| 90 // Only accessed on the IO thread. | 92 // Only accessed on the IO thread. |
| 91 PendingThrottleMap pending_throttles_; | 93 PendingThrottleMap pending_throttles_; |
| 92 | 94 |
| 93 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); | 95 DISALLOW_COPY_AND_ASSIGN(AwResourceDispatcherHostDelegate); |
| 94 }; | 96 }; |
| 95 | 97 |
| 96 } // namespace android_webview | 98 } // namespace android_webview |
| 97 | 99 |
| 98 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ | 100 #endif // ANDROID_WEBVIEW_LIB_RENDERER_HOST_AW_RESOURCE_DISPATCHER_HOST_H_ |
| OLD | NEW |