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

Unified Diff: chrome/common/net/gaia/gaia_auth_fetcher_unittest.h

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
« no previous file with comments | « chrome/common/net/gaia/gaia_auth_fetcher.cc ('k') | chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/gaia_auth_fetcher_unittest.h
diff --git a/chrome/common/net/gaia/gaia_auth_fetcher_unittest.h b/chrome/common/net/gaia/gaia_auth_fetcher_unittest.h
index 4676a26f19eea5e7731c46ed77f257ece99b16fc..65235b14903886b1face8d5823628633955daa65 100644
--- a/chrome/common/net/gaia/gaia_auth_fetcher_unittest.h
+++ b/chrome/common/net/gaia/gaia_auth_fetcher_unittest.h
@@ -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.
//
@@ -32,17 +32,17 @@ class MockFetcher : public URLFetcher {
~MockFetcher() {}
void Start() {
- URLRequestStatus::Status code;
+ net::URLRequestStatus::Status code;
int http_code;
if (success_) {
http_code = RC_REQUEST_OK;
- code = URLRequestStatus::SUCCESS;
+ code = net::URLRequestStatus::SUCCESS;
} else {
http_code = RC_FORBIDDEN;
- code = URLRequestStatus::FAILED;
+ code = net::URLRequestStatus::FAILED;
}
- URLRequestStatus status(code, 0);
+ net::URLRequestStatus status(code, 0);
delegate()->OnURLFetchComplete(NULL,
url_,
status,
« no previous file with comments | « chrome/common/net/gaia/gaia_auth_fetcher.cc ('k') | chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698