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

Unified Diff: chrome/browser/sync/glue/http_bridge.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/sync/glue/http_bridge.cc
diff --git a/chrome/browser/sync/glue/http_bridge.cc b/chrome/browser/sync/glue/http_bridge.cc
index 2ec5a1bf22fba1b8867d35c8921d7d198810f30c..469315331b5216443d0ba0c16efa41e2ff70c915 100644
--- a/chrome/browser/sync/glue/http_bridge.cc
+++ b/chrome/browser/sync/glue/http_bridge.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.
@@ -219,15 +219,16 @@ const std::string HttpBridge::GetResponseHeaderValue(
return value;
}
-void HttpBridge::OnURLFetchComplete(const URLFetcher *source, const GURL &url,
- const URLRequestStatus &status,
+void HttpBridge::OnURLFetchComplete(const URLFetcher *source,
+ const GURL &url,
+ const net::URLRequestStatus &status,
int response_code,
const ResponseCookies &cookies,
const std::string &data) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
request_completed_ = true;
- request_succeeded_ = (URLRequestStatus::SUCCESS == status.status());
+ request_succeeded_ = (net::URLRequestStatus::SUCCESS == status.status());
http_response_code_ = response_code;
os_error_code_ = status.os_error();
« no previous file with comments | « chrome/browser/speech/speech_recognizer_unittest.cc ('k') | chrome/browser/sync/glue/http_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698