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

Side by Side Diff: chrome/browser/component_updater/chrome_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 | « no previous file | chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/component_updater/chrome_component_updater_configurator .h" 5 #include "chrome/browser/component_updater/chrome_component_updater_configurator .h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
(...skipping 24 matching lines...) Expand all
35 35
36 class ChromeConfigurator : public update_client::Configurator { 36 class ChromeConfigurator : public update_client::Configurator {
37 public: 37 public:
38 ChromeConfigurator(const base::CommandLine* cmdline, 38 ChromeConfigurator(const base::CommandLine* cmdline,
39 net::URLRequestContextGetter* url_request_getter, 39 net::URLRequestContextGetter* url_request_getter,
40 PrefService* pref_service); 40 PrefService* pref_service);
41 41
42 // update_client::Configurator overrides. 42 // update_client::Configurator overrides.
43 int InitialDelay() const override; 43 int InitialDelay() const override;
44 int NextCheckDelay() const override; 44 int NextCheckDelay() const override;
45 int StepDelay() const override;
46 int OnDemandDelay() const override; 45 int OnDemandDelay() const override;
47 int UpdateDelay() const override; 46 int UpdateDelay() const override;
48 std::vector<GURL> UpdateUrl() const override; 47 std::vector<GURL> UpdateUrl() const override;
49 std::vector<GURL> PingUrl() const override; 48 std::vector<GURL> PingUrl() const override;
50 std::string GetProdId() const override; 49 std::string GetProdId() const override;
51 base::Version GetBrowserVersion() const override; 50 base::Version GetBrowserVersion() const override;
52 std::string GetChannel() const override; 51 std::string GetChannel() const override;
53 std::string GetBrand() const override; 52 std::string GetBrand() const override;
54 std::string GetLang() const override; 53 std::string GetLang() const override;
55 std::string GetOSLongName() const override; 54 std::string GetOSLongName() const override;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } 88 }
90 89
91 int ChromeConfigurator::InitialDelay() const { 90 int ChromeConfigurator::InitialDelay() const {
92 return configurator_impl_.InitialDelay(); 91 return configurator_impl_.InitialDelay();
93 } 92 }
94 93
95 int ChromeConfigurator::NextCheckDelay() const { 94 int ChromeConfigurator::NextCheckDelay() const {
96 return configurator_impl_.NextCheckDelay(); 95 return configurator_impl_.NextCheckDelay();
97 } 96 }
98 97
99 int ChromeConfigurator::StepDelay() const {
100 return configurator_impl_.StepDelay();
101 }
102
103 int ChromeConfigurator::OnDemandDelay() const { 98 int ChromeConfigurator::OnDemandDelay() const {
104 return configurator_impl_.OnDemandDelay(); 99 return configurator_impl_.OnDemandDelay();
105 } 100 }
106 101
107 int ChromeConfigurator::UpdateDelay() const { 102 int ChromeConfigurator::UpdateDelay() const {
108 return configurator_impl_.UpdateDelay(); 103 return configurator_impl_.UpdateDelay();
109 } 104 }
110 105
111 std::vector<GURL> ChromeConfigurator::UpdateUrl() const { 106 std::vector<GURL> ChromeConfigurator::UpdateUrl() const {
112 return configurator_impl_.UpdateUrl(); 107 return configurator_impl_.UpdateUrl();
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 210
216 scoped_refptr<update_client::Configurator> 211 scoped_refptr<update_client::Configurator>
217 MakeChromeComponentUpdaterConfigurator( 212 MakeChromeComponentUpdaterConfigurator(
218 const base::CommandLine* cmdline, 213 const base::CommandLine* cmdline,
219 net::URLRequestContextGetter* context_getter, 214 net::URLRequestContextGetter* context_getter,
220 PrefService* pref_service) { 215 PrefService* pref_service) {
221 return new ChromeConfigurator(cmdline, context_getter, pref_service); 216 return new ChromeConfigurator(cmdline, context_getter, pref_service);
222 } 217 }
223 218
224 } // namespace component_updater 219 } // namespace component_updater
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698