summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/autofill/autofill_download.cc2
-rw-r--r--chrome/common/net/url_fetcher.cc4
-rw-r--r--chrome/common/net/url_fetcher.h2
-rw-r--r--chrome/common/net/url_fetcher_unittest.cc4
4 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/autofill/autofill_download.cc b/chrome/browser/autofill/autofill_download.cc
index a7e5291..851c8ef 100644
--- a/chrome/browser/autofill/autofill_download.cc
+++ b/chrome/browser/autofill/autofill_download.cc
@@ -176,7 +176,7 @@ bool AutoFillDownloadManager::StartRequest(
URLFetcher::POST,
this);
url_fetchers_[fetcher] = request_data;
- fetcher->set_automatcally_retry_on_5xx(false);
+ fetcher->set_automatically_retry_on_5xx(false);
fetcher->set_request_context(Profile::GetDefaultRequestContext());
fetcher->set_upload_data("text/plain", form_xml);
fetcher->Start();
diff --git a/chrome/common/net/url_fetcher.cc b/chrome/common/net/url_fetcher.cc
index a74255b..6113ac5 100644
--- a/chrome/common/net/url_fetcher.cc
+++ b/chrome/common/net/url_fetcher.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -356,7 +356,7 @@ void URLFetcher::set_request_context(
core_->request_context_getter_ = request_context_getter;
}
-void URLFetcher::set_automatcally_retry_on_5xx(bool retry) {
+void URLFetcher::set_automatically_retry_on_5xx(bool retry) {
automatically_retry_on_5xx_ = retry;
}
diff --git a/chrome/common/net/url_fetcher.h b/chrome/common/net/url_fetcher.h
index 9294db3..679774b 100644
--- a/chrome/common/net/url_fetcher.h
+++ b/chrome/common/net/url_fetcher.h
@@ -146,7 +146,7 @@ class URLFetcher {
// If |retry| is false, 5xx responses will be propagated to the observer,
// if it is true URLFetcher will automatically re-execute the request,
// after backoff_delay() elapses. URLFetcher has it set to true by default.
- void set_automatcally_retry_on_5xx(bool retry);
+ void set_automatically_retry_on_5xx(bool retry);
// Returns the back-off delay before the request will be retried,
// when a 5xx response was received.
diff --git a/chrome/common/net/url_fetcher_unittest.cc b/chrome/common/net/url_fetcher_unittest.cc
index c5da182..3fc8469 100644
--- a/chrome/common/net/url_fetcher_unittest.cc
+++ b/chrome/common/net/url_fetcher_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -336,7 +336,7 @@ void URLFetcherProtectTestPassedThrough::CreateFetcher(const GURL& url) {
fetcher_ = new URLFetcher(url, URLFetcher::GET, this);
fetcher_->set_request_context(new TestURLRequestContextGetter(
io_message_loop_proxy()));
- fetcher_->set_automatcally_retry_on_5xx(false);
+ fetcher_->set_automatically_retry_on_5xx(false);
start_time_ = Time::Now();
fetcher_->Start();
}