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

Side by Side Diff: components/update_client/test_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
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 "components/update_client/test_configurator.h" 5 #include "components/update_client/test_configurator.h"
6 6
7 #include "base/sequenced_task_runner.h" 7 #include "base/sequenced_task_runner.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/version.h" 9 #include "base/version.h"
10 #include "components/prefs/pref_service.h" 10 #include "components/prefs/pref_service.h"
(...skipping 29 matching lines...) Expand all
40 } 40 }
41 41
42 int TestConfigurator::InitialDelay() const { 42 int TestConfigurator::InitialDelay() const {
43 return initial_time_; 43 return initial_time_;
44 } 44 }
45 45
46 int TestConfigurator::NextCheckDelay() const { 46 int TestConfigurator::NextCheckDelay() const {
47 return 1; 47 return 1;
48 } 48 }
49 49
50 int TestConfigurator::StepDelay() const {
51 return 0;
52 }
53
54 int TestConfigurator::OnDemandDelay() const { 50 int TestConfigurator::OnDemandDelay() const {
55 return ondemand_time_; 51 return ondemand_time_;
56 } 52 }
57 53
58 int TestConfigurator::UpdateDelay() const { 54 int TestConfigurator::UpdateDelay() const {
59 return 1; 55 return 1;
60 } 56 }
61 57
62 std::vector<GURL> TestConfigurator::UpdateUrl() const { 58 std::vector<GURL> TestConfigurator::UpdateUrl() const {
63 if (!update_check_url_.is_empty()) 59 if (!update_check_url_.is_empty())
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 169
174 PrefService* TestConfigurator::GetPrefService() const { 170 PrefService* TestConfigurator::GetPrefService() const {
175 return nullptr; 171 return nullptr;
176 } 172 }
177 173
178 bool TestConfigurator::IsPerUserInstall() const { 174 bool TestConfigurator::IsPerUserInstall() const {
179 return true; 175 return true;
180 } 176 }
181 177
182 } // namespace update_client 178 } // namespace update_client
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698