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

Side by Side Diff: content/browser/renderer_host/sync_resource_handler.cc

Issue 7274031: Wholesale move of debugger sources to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add OWNERS and DEPS. Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/renderer_host/sync_resource_handler.h" 5 #include "content/browser/renderer_host/sync_resource_handler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/debugger/devtools_netlog_observer.h" 8 #include "content/browser/debugger/devtools_netlog_observer.h"
9 #include "content/browser/renderer_host/global_request_id.h" 9 #include "content/browser/renderer_host/global_request_id.h"
10 #include "content/browser/renderer_host/resource_dispatcher_host.h" 10 #include "content/browser/renderer_host/resource_dispatcher_host.h"
11 #include "content/browser/renderer_host/resource_dispatcher_host_delegate.h" 11 #include "content/browser/renderer_host/resource_dispatcher_host_delegate.h"
12 #include "content/browser/renderer_host/resource_message_filter.h" 12 #include "content/browser/renderer_host/resource_message_filter.h"
13 #include "content/common/resource_messages.h" 13 #include "content/common/resource_messages.h"
14 #include "net/base/io_buffer.h" 14 #include "net/base/io_buffer.h"
15 #include "net/http/http_response_headers.h" 15 #include "net/http/http_response_headers.h"
16 16
17 SyncResourceHandler::SyncResourceHandler( 17 SyncResourceHandler::SyncResourceHandler(
18 ResourceMessageFilter* filter, 18 ResourceMessageFilter* filter,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 return true; 117 return true;
118 } 118 }
119 119
120 void SyncResourceHandler::OnRequestClosed() { 120 void SyncResourceHandler::OnRequestClosed() {
121 if (!result_message_) 121 if (!result_message_)
122 return; 122 return;
123 123
124 result_message_->set_reply_error(); 124 result_message_->set_reply_error();
125 filter_->Send(result_message_); 125 filter_->Send(result_message_);
126 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698