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

Side by Side Diff: ios/chrome/browser/component_updater/ios_component_updater_configurator.cc

Issue 2773973003: remove update_client::Configurator::StepDelay (Closed)
Patch Set: owners Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « components/update_client/test_configurator.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/chrome/browser/component_updater/ios_component_updater_configurato r.h" 5 #include "ios/chrome/browser/component_updater/ios_component_updater_configurato r.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/threading/sequenced_worker_pool.h" 10 #include "base/threading/sequenced_worker_pool.h"
(...skipping 11 matching lines...) Expand all
22 namespace { 22 namespace {
23 23
24 class IOSConfigurator : public update_client::Configurator { 24 class IOSConfigurator : public update_client::Configurator {
25 public: 25 public:
26 IOSConfigurator(const base::CommandLine* cmdline, 26 IOSConfigurator(const base::CommandLine* cmdline,
27 net::URLRequestContextGetter* url_request_getter); 27 net::URLRequestContextGetter* url_request_getter);
28 28
29 // update_client::Configurator overrides. 29 // update_client::Configurator overrides.
30 int InitialDelay() const override; 30 int InitialDelay() const override;
31 int NextCheckDelay() const override; 31 int NextCheckDelay() const override;
32 int StepDelay() const override;
33 int OnDemandDelay() const override; 32 int OnDemandDelay() const override;
34 int UpdateDelay() const override; 33 int UpdateDelay() const override;
35 std::vector<GURL> UpdateUrl() const override; 34 std::vector<GURL> UpdateUrl() const override;
36 std::vector<GURL> PingUrl() const override; 35 std::vector<GURL> PingUrl() const override;
37 std::string GetProdId() const override; 36 std::string GetProdId() const override;
38 base::Version GetBrowserVersion() const override; 37 base::Version GetBrowserVersion() const override;
39 std::string GetChannel() const override; 38 std::string GetChannel() const override;
40 std::string GetBrand() const override; 39 std::string GetBrand() const override;
41 std::string GetLang() const override; 40 std::string GetLang() const override;
42 std::string GetOSLongName() const override; 41 std::string GetOSLongName() const override;
(...skipping 28 matching lines...) Expand all
71 : configurator_impl_(cmdline, url_request_getter, false) {} 70 : configurator_impl_(cmdline, url_request_getter, false) {}
72 71
73 int IOSConfigurator::InitialDelay() const { 72 int IOSConfigurator::InitialDelay() const {
74 return configurator_impl_.InitialDelay(); 73 return configurator_impl_.InitialDelay();
75 } 74 }
76 75
77 int IOSConfigurator::NextCheckDelay() const { 76 int IOSConfigurator::NextCheckDelay() const {
78 return configurator_impl_.NextCheckDelay(); 77 return configurator_impl_.NextCheckDelay();
79 } 78 }
80 79
81 int IOSConfigurator::StepDelay() const {
82 return configurator_impl_.StepDelay();
83 }
84
85 int IOSConfigurator::OnDemandDelay() const { 80 int IOSConfigurator::OnDemandDelay() const {
86 return configurator_impl_.OnDemandDelay(); 81 return configurator_impl_.OnDemandDelay();
87 } 82 }
88 83
89 int IOSConfigurator::UpdateDelay() const { 84 int IOSConfigurator::UpdateDelay() const {
90 return configurator_impl_.UpdateDelay(); 85 return configurator_impl_.UpdateDelay();
91 } 86 }
92 87
93 std::vector<GURL> IOSConfigurator::UpdateUrl() const { 88 std::vector<GURL> IOSConfigurator::UpdateUrl() const {
94 return configurator_impl_.UpdateUrl(); 89 return configurator_impl_.UpdateUrl();
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 171
177 } // namespace 172 } // namespace
178 173
179 scoped_refptr<update_client::Configurator> MakeIOSComponentUpdaterConfigurator( 174 scoped_refptr<update_client::Configurator> MakeIOSComponentUpdaterConfigurator(
180 const base::CommandLine* cmdline, 175 const base::CommandLine* cmdline,
181 net::URLRequestContextGetter* context_getter) { 176 net::URLRequestContextGetter* context_getter) {
182 return new IOSConfigurator(cmdline, context_getter); 177 return new IOSConfigurator(cmdline, context_getter);
183 } 178 }
184 179
185 } // namespace component_updater 180 } // namespace component_updater
OLDNEW
« no previous file with comments | « components/update_client/test_configurator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698