Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: content/browser/loader/navigation_resource_handler.cc

Issue 2554273002: Unexport resource_controller.h (Closed)
Patch Set: content_unittests build Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "content/browser/loader/navigation_resource_handler.h" 5 #include "content/browser/loader/navigation_resource_handler.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "content/browser/loader/navigation_url_loader_impl_core.h" 10 #include "content/browser/loader/navigation_url_loader_impl_core.h"
11 #include "content/browser/loader/netlog_observer.h" 11 #include "content/browser/loader/netlog_observer.h"
12 #include "content/browser/loader/resource_controller.h"
12 #include "content/browser/loader/resource_loader.h" 13 #include "content/browser/loader/resource_loader.h"
13 #include "content/browser/loader/resource_request_info_impl.h" 14 #include "content/browser/loader/resource_request_info_impl.h"
14 #include "content/browser/resource_context_impl.h" 15 #include "content/browser/resource_context_impl.h"
15 #include "content/browser/streams/stream.h" 16 #include "content/browser/streams/stream.h"
16 #include "content/browser/streams/stream_context.h" 17 #include "content/browser/streams/stream_context.h"
17 #include "content/public/browser/navigation_data.h" 18 #include "content/public/browser/navigation_data.h"
18 #include "content/public/browser/resource_controller.h"
19 #include "content/public/browser/resource_dispatcher_host_delegate.h" 19 #include "content/public/browser/resource_dispatcher_host_delegate.h"
20 #include "content/public/browser/ssl_status.h" 20 #include "content/public/browser/ssl_status.h"
21 #include "content/public/browser/stream_handle.h" 21 #include "content/public/browser/stream_handle.h"
22 #include "content/public/common/resource_response.h" 22 #include "content/public/common/resource_response.h"
23 #include "net/base/net_errors.h" 23 #include "net/base/net_errors.h"
24 #include "net/url_request/url_request.h" 24 #include "net/url_request/url_request.h"
25 25
26 namespace content { 26 namespace content {
27 27
28 void NavigationResourceHandler::GetSSLStatusForRequest( 28 void NavigationResourceHandler::GetSSLStatusForRequest(
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 NOTREACHED(); 180 NOTREACHED();
181 } 181 }
182 182
183 void NavigationResourceHandler::DetachFromCore() { 183 void NavigationResourceHandler::DetachFromCore() {
184 DCHECK(core_); 184 DCHECK(core_);
185 core_->set_resource_handler(nullptr); 185 core_->set_resource_handler(nullptr);
186 core_ = nullptr; 186 core_ = nullptr;
187 } 187 }
188 188
189 } // namespace content 189 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698