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

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

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 months 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 | Annotate | Revision Log
OLDNEW
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 "content/browser/loader/doomed_resource_handler.h" 5 #include "content/browser/loader/doomed_resource_handler.h"
6 6
7 #include "base/logging.h"
7 #include "net/url_request/url_request_status.h" 8 #include "net/url_request/url_request_status.h"
8 9
9 namespace content { 10 namespace content {
10 11
11 DoomedResourceHandler::DoomedResourceHandler( 12 DoomedResourceHandler::DoomedResourceHandler(
12 scoped_ptr<ResourceHandler> old_handler) 13 scoped_ptr<ResourceHandler> old_handler)
13 : old_handler_(old_handler.Pass()) { 14 : old_handler_(old_handler.Pass()) {
14 } 15 }
15 16
16 DoomedResourceHandler::~DoomedResourceHandler() { 17 DoomedResourceHandler::~DoomedResourceHandler() {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 status.status() == net::URLRequestStatus::FAILED); 69 status.status() == net::URLRequestStatus::FAILED);
69 return true; 70 return true;
70 } 71 }
71 72
72 void DoomedResourceHandler::OnDataDownloaded(int request_id, 73 void DoomedResourceHandler::OnDataDownloaded(int request_id,
73 int bytes_downloaded) { 74 int bytes_downloaded) {
74 NOTREACHED(); 75 NOTREACHED();
75 } 76 }
76 77
77 } // namespace content 78 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/buffered_resource_handler.cc ('k') | content/browser/loader/redirect_to_file_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698