diff options
author | sorin <sorin@chromium.org> | 2015-06-09 09:54:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-09 16:54:42 +0000 |
commit | 27eb83825784122366a20e45afe42001cee631a9 (patch) | |
tree | 96d7fd473ca92c4af5f78853ecce7f7625ef8cf0 /components/update_client | |
parent | 0603ca9f502b10d14e31bff4c0f8ce11191e380e (diff) | |
download | chromium_src-27eb83825784122366a20e45afe42001cee631a9.zip chromium_src-27eb83825784122366a20e45afe42001cee631a9.tar.gz chromium_src-27eb83825784122366a20e45afe42001cee631a9.tar.bz2 |
Remove dead code update_client::Configurator::UrlSizeLimit
BUG=498054
Review URL: https://codereview.chromium.org/1171683003
Cr-Commit-Position: refs/heads/master@{#333509}
Diffstat (limited to 'components/update_client')
-rw-r--r-- | components/update_client/configurator.h | 3 | ||||
-rw-r--r-- | components/update_client/test_configurator.cc | 4 | ||||
-rw-r--r-- | components/update_client/test_configurator.h | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/components/update_client/configurator.h b/components/update_client/configurator.h index 4bb103e..3cd3b67 100644 --- a/components/update_client/configurator.h +++ b/components/update_client/configurator.h @@ -78,9 +78,6 @@ class Configurator : public base::RefCountedThreadSafe<Configurator> { // XML element. virtual std::string ExtraRequestParams() const = 0; - // How big each update request can be. Don't go above 2000. - virtual size_t UrlSizeLimit() const = 0; - // The source of contexts for all the url requests. virtual net::URLRequestContextGetter* RequestContext() const = 0; diff --git a/components/update_client/test_configurator.cc b/components/update_client/test_configurator.cc index a1dc0e5..a5cbd44 100644 --- a/components/update_client/test_configurator.cc +++ b/components/update_client/test_configurator.cc @@ -82,10 +82,6 @@ std::string TestConfigurator::ExtraRequestParams() const { return "extra=\"foo\""; } -size_t TestConfigurator::UrlSizeLimit() const { - return 256; -} - net::URLRequestContextGetter* TestConfigurator::RequestContext() const { return context_.get(); } diff --git a/components/update_client/test_configurator.h b/components/update_client/test_configurator.h index 8d67046..d979ba5 100644 --- a/components/update_client/test_configurator.h +++ b/components/update_client/test_configurator.h @@ -67,7 +67,6 @@ class TestConfigurator : public Configurator { std::string GetLang() const override; std::string GetOSLongName() const override; std::string ExtraRequestParams() const override; - size_t UrlSizeLimit() const override; net::URLRequestContextGetter* RequestContext() const override; scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher() const override; bool DeltasEnabled() const override; |