diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 23:25:40 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 23:25:40 +0000 |
commit | be8aea74b57599336df6a235dbd173fd557a7a67 (patch) | |
tree | 1a02cf49c9d957c9b22d90e5c6fd639130d44c28 /chrome/common | |
parent | e7f51241e975364168e7ba562a57869deec4ada9 (diff) | |
download | chromium_src-be8aea74b57599336df6a235dbd173fd557a7a67.zip chromium_src-be8aea74b57599336df6a235dbd173fd557a7a67.tar.gz chromium_src-be8aea74b57599336df6a235dbd173fd557a7a67.tar.bz2 |
Fix typo in a function name.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3467017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60727 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/net/url_fetcher.cc | 4 | ||||
-rw-r--r-- | chrome/common/net/url_fetcher.h | 2 | ||||
-rw-r--r-- | chrome/common/net/url_fetcher_unittest.cc | 4 |
3 files changed, 5 insertions, 5 deletions
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(); } |