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 #include "chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.
h" | 5 #include "chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.
h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/base64.h" | 9 #include "base/base64.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 #if defined(OS_ANDROID) | 75 #if defined(OS_ANDROID) |
76 #include "chrome/browser/android/intercept_download_resource_throttle.h" | 76 #include "chrome/browser/android/intercept_download_resource_throttle.h" |
77 #include "chrome/browser/ui/android/infobars/auto_login_prompter.h" | 77 #include "chrome/browser/ui/android/infobars/auto_login_prompter.h" |
78 #include "components/navigation_interception/intercept_navigation_delegate.h" | 78 #include "components/navigation_interception/intercept_navigation_delegate.h" |
79 #else | 79 #else |
80 #include "chrome/browser/apps/app_url_redirector.h" | 80 #include "chrome/browser/apps/app_url_redirector.h" |
81 #include "chrome/browser/apps/ephemeral_app_throttle.h" | 81 #include "chrome/browser/apps/ephemeral_app_throttle.h" |
82 #endif | 82 #endif |
83 | 83 |
84 #if defined(OS_CHROMEOS) | 84 #if defined(OS_CHROMEOS) |
85 #include "chrome/browser/chromeos/login/merge_session_throttle.h" | 85 #include "chrome/browser/chromeos/login/signin/merge_session_throttle.h" |
86 // TODO(oshima): Enable this for other platforms. | 86 // TODO(oshima): Enable this for other platforms. |
87 #include "chrome/browser/renderer_host/offline_resource_throttle.h" | 87 #include "chrome/browser/renderer_host/offline_resource_throttle.h" |
88 #endif | 88 #endif |
89 | 89 |
90 using content::BrowserThread; | 90 using content::BrowserThread; |
91 using content::RenderViewHost; | 91 using content::RenderViewHost; |
92 using content::ResourceDispatcherHostLoginDelegate; | 92 using content::ResourceDispatcherHostLoginDelegate; |
93 using content::ResourceRequestInfo; | 93 using content::ResourceRequestInfo; |
94 using extensions::Extension; | 94 using extensions::Extension; |
95 using extensions::StreamsPrivateAPI; | 95 using extensions::StreamsPrivateAPI; |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 url_request->GetTotalReceivedBytes())); | 702 url_request->GetTotalReceivedBytes())); |
703 } | 703 } |
704 } | 704 } |
705 | 705 |
706 // static | 706 // static |
707 void ChromeResourceDispatcherHostDelegate:: | 707 void ChromeResourceDispatcherHostDelegate:: |
708 SetExternalProtocolHandlerDelegateForTesting( | 708 SetExternalProtocolHandlerDelegateForTesting( |
709 ExternalProtocolHandler::Delegate* delegate) { | 709 ExternalProtocolHandler::Delegate* delegate) { |
710 g_external_protocol_handler_delegate = delegate; | 710 g_external_protocol_handler_delegate = delegate; |
711 } | 711 } |
OLD | NEW |