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

Unified Diff: chrome/browser/chromeos/login/wizard_controller_browsertest.cc

Issue 2371213002: Refactor: Inject StatisticsProvider as a dependency of DeviceCloudPolicyInitializer. (Closed)
Patch Set: Inject StatisticsProvider as a dependency of DeviceCloudPolicyInitializer. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/wizard_controller_browsertest.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
index 6dbec59af7d9eb80fa665c124e00a97c4bfaff3e..dcbf779379183b1751c5383f8f571214e00687f3 100644
--- a/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
+++ b/chrome/browser/chromeos/login/wizard_controller_browsertest.cc
@@ -726,9 +726,10 @@ class WizardControllerDeviceStateTest : public WizardControllerFlowTest {
std::string(),
std::string(),
policy::DEVICE_MODE_NOT_SET) {
- fake_statistics_provider_.SetMachineStatistic("serial_number", "test");
- fake_statistics_provider_.SetMachineStatistic(system::kActivateDateKey,
- "2000-01");
+ fake_statistics_provider_.SetMachineStatistic(
+ system::kSerialNumberKey, "test");
+ fake_statistics_provider_.SetMachineStatistic(
+ system::kActivateDateKey, "2000-01");
}
void SetUpCommandLine(base::CommandLine* command_line) override {

Powered by Google App Engine
This is Rietveld 408576698