| Index: android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc
|
| diff --git a/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc b/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc
|
| index 62a4d0719eaa709e9a0c3326c27a742216a723c7..56d06e19efd9311414a1ea137ab33e51ff33dbac 100644
|
| --- a/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc
|
| +++ b/android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.cc
|
| @@ -406,13 +406,13 @@ void AwResourceDispatcherHostDelegate::AddExtraHeadersIfNeeded(
|
| if (request_info->GetResourceType() != content::RESOURCE_TYPE_MAIN_FRAME)
|
| return;
|
|
|
| - const content::PageTransition transition = request_info->GetPageTransition();
|
| + const ui::PageTransition transition = request_info->GetPageTransition();
|
| const bool is_load_url =
|
| - transition & content::PAGE_TRANSITION_FROM_API;
|
| + transition & ui::PAGE_TRANSITION_FROM_API;
|
| const bool is_go_back_forward =
|
| - transition & content::PAGE_TRANSITION_FORWARD_BACK;
|
| - const bool is_reload = content::PageTransitionCoreTypeIs(
|
| - transition, content::PAGE_TRANSITION_RELOAD);
|
| + transition & ui::PAGE_TRANSITION_FORWARD_BACK;
|
| + const bool is_reload = ui::PageTransitionCoreTypeIs(
|
| + transition, ui::PAGE_TRANSITION_RELOAD);
|
| if (is_load_url || is_go_back_forward || is_reload) {
|
| AwResourceContext* awrc = static_cast<AwResourceContext*>(resource_context);
|
| std::string extra_headers = awrc->GetExtraHeaders(request->url());
|
|
|