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

Side by Side Diff: components/update_client/test_configurator.cc

Issue 2661113003: Skeleton mechanical impl. for the RecoveryImprovedComponent. (Closed)
Patch Set: . Created 3 years, 10 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 124 }
125 125
126 bool TestConfigurator::EnabledBackgroundDownloader() const { 126 bool TestConfigurator::EnabledBackgroundDownloader() const {
127 return false; 127 return false;
128 } 128 }
129 129
130 bool TestConfigurator::EnabledCupSigning() const { 130 bool TestConfigurator::EnabledCupSigning() const {
131 return enabled_cup_signing_; 131 return enabled_cup_signing_;
132 } 132 }
133 133
134 bool TestConfigurator::EnabledImprovedRecovery() const {
135 return false;
136 }
137
134 void TestConfigurator::SetBrand(const std::string& brand) { 138 void TestConfigurator::SetBrand(const std::string& brand) {
135 brand_ = brand; 139 brand_ = brand;
136 } 140 }
137 141
138 void TestConfigurator::SetOnDemandTime(int seconds) { 142 void TestConfigurator::SetOnDemandTime(int seconds) {
139 ondemand_time_ = seconds; 143 ondemand_time_ = seconds;
140 } 144 }
141 145
142 void TestConfigurator::SetInitialDelay(int seconds) { 146 void TestConfigurator::SetInitialDelay(int seconds) {
143 initial_time_ = seconds; 147 initial_time_ = seconds;
(...skipping 29 matching lines...) Expand all
173 177
174 PrefService* TestConfigurator::GetPrefService() const { 178 PrefService* TestConfigurator::GetPrefService() const {
175 return nullptr; 179 return nullptr;
176 } 180 }
177 181
178 bool TestConfigurator::IsPerUserInstall() const { 182 bool TestConfigurator::IsPerUserInstall() const {
179 return true; 183 return true;
180 } 184 }
181 185
182 } // namespace update_client 186 } // namespace update_client
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698