summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 02:12:44 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-13 02:12:44 +0000
commitf90bf0d9264f7f272b7f4a65f864cb7170417fe8 (patch)
tree3df23eb7b118bfd40c7601df6245d869b56ced49 /chrome/browser/metrics
parent56d8cf25ee047078688c8af5917fcfbc63ac749b (diff)
downloadchromium_src-f90bf0d9264f7f272b7f4a65f864cb7170417fe8.zip
chromium_src-f90bf0d9264f7f272b7f4a65f864cb7170417fe8.tar.gz
chromium_src-f90bf0d9264f7f272b7f4a65f864cb7170417fe8.tar.bz2
net: Remove typedef net::URLRequestStatus URLRequestStatus;
BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/6166010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics')
-rw-r--r--chrome/browser/metrics/metrics_service.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index a5394c0..d3afe2b 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.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.
@@ -1332,21 +1332,21 @@ void MetricsService::PrepareFetchWithPendingLog() {
current_fetch_->set_upload_data(kMetricsType, compressed_log_);
}
-static const char* StatusToString(const URLRequestStatus& status) {
+static const char* StatusToString(const net::URLRequestStatus& status) {
switch (status.status()) {
- case URLRequestStatus::SUCCESS:
+ case net::URLRequestStatus::SUCCESS:
return "SUCCESS";
- case URLRequestStatus::IO_PENDING:
+ case net::URLRequestStatus::IO_PENDING:
return "IO_PENDING";
- case URLRequestStatus::HANDLED_EXTERNALLY:
+ case net::URLRequestStatus::HANDLED_EXTERNALLY:
return "HANDLED_EXTERNALLY";
- case URLRequestStatus::CANCELED:
+ case net::URLRequestStatus::CANCELED:
return "CANCELED";
- case URLRequestStatus::FAILED:
+ case net::URLRequestStatus::FAILED:
return "FAILED";
default:
@@ -1357,7 +1357,7 @@ static const char* StatusToString(const URLRequestStatus& status) {
void MetricsService::OnURLFetchComplete(const URLFetcher* source,
const GURL& url,
- const URLRequestStatus& status,
+ const net::URLRequestStatus& status,
int response_code,
const ResponseCookies& cookies,
const std::string& data) {