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

Unified Diff: chrome/browser/renderer_host/async_resource_handler.cc

Issue 6166010: net: Remove typedef net::URLRequestStatus URLRequestStatus; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/async_resource_handler.cc
diff --git a/chrome/browser/renderer_host/async_resource_handler.cc b/chrome/browser/renderer_host/async_resource_handler.cc
index 8f84d081bb6907e682b10220bec56c067c8632f2..0a2bcbb839a94d66f78d7771a8a57f5a19e5e466 100644
--- a/chrome/browser/renderer_host/async_resource_handler.cc
+++ b/chrome/browser/renderer_host/async_resource_handler.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -229,7 +229,7 @@ void AsyncResourceHandler::OnDataDownloaded(
bool AsyncResourceHandler::OnResponseCompleted(
int request_id,
- const URLRequestStatus& status,
+ const net::URLRequestStatus& status,
const std::string& security_info) {
Time completion_time = Time::Now();
filter_->Send(new ViewMsg_Resource_RequestComplete(routing_id_,
@@ -241,7 +241,8 @@ bool AsyncResourceHandler::OnResponseCompleted(
// If we still have a read buffer, then see about caching it for later...
// Note that we have to make sure the buffer is not still being used, so we
// have to perform an explicit check on the status code.
- if (g_spare_read_buffer || URLRequestStatus::SUCCESS != status.status()) {
+ if (g_spare_read_buffer ||
+ net::URLRequestStatus::SUCCESS != status.status()) {
read_buffer_ = NULL;
} else if (read_buffer_.get()) {
DCHECK(read_buffer_->data());
« no previous file with comments | « chrome/browser/remoting/directory_add_request_unittest.cc ('k') | chrome/browser/renderer_host/buffered_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698