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

Unified Diff: chrome/browser/net/sdch_dictionary_fetcher.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/net/sdch_dictionary_fetcher.cc
diff --git a/chrome/browser/net/sdch_dictionary_fetcher.cc b/chrome/browser/net/sdch_dictionary_fetcher.cc
index 696d311240d41d460c4d1d3b6e7dc36e7d870dae..5efae09f0733a766e1ee254435cceec97869456c 100644
--- a/chrome/browser/net/sdch_dictionary_fetcher.cc
+++ b/chrome/browser/net/sdch_dictionary_fetcher.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 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.
@@ -64,13 +64,15 @@ void SdchDictionaryFetcher::StartFetching() {
current_fetch_->Start();
}
-void SdchDictionaryFetcher::OnURLFetchComplete(const URLFetcher* source,
- const GURL& url,
- const URLRequestStatus& status,
- int response_code,
- const ResponseCookies& cookies,
- const std::string& data) {
- if ((200 == response_code) && (status.status() == URLRequestStatus::SUCCESS))
+void SdchDictionaryFetcher::OnURLFetchComplete(
+ const URLFetcher* source,
+ const GURL& url,
+ const net::URLRequestStatus& status,
+ int response_code,
+ const ResponseCookies& cookies,
+ const std::string& data) {
+ if ((200 == response_code) &&
+ (status.status() == net::URLRequestStatus::SUCCESS))
SdchManager::Global()->AddSdchDictionary(data, url);
current_fetch_.reset(NULL);
ScheduleDelayedRun();
« no previous file with comments | « chrome/browser/net/chrome_dns_cert_provenance_checker.cc ('k') | chrome/browser/net/url_request_failed_dns_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698