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

Unified Diff: chrome/browser/chromeos/settings/device_settings_service_unittest.cc

Issue 565293003: Revert of Non-plafrom-specific part of an OwnerSettingsService is moved to components/ownership/*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/settings/device_settings_service_unittest.cc
diff --git a/chrome/browser/chromeos/settings/device_settings_service_unittest.cc b/chrome/browser/chromeos/settings/device_settings_service_unittest.cc
index 3515a67f00044d6325f7305242637830ab22f82c..4c293a545868680997c209211f5787f027f4efce 100644
--- a/chrome/browser/chromeos/settings/device_settings_service_unittest.cc
+++ b/chrome/browser/chromeos/settings/device_settings_service_unittest.cc
@@ -9,8 +9,8 @@
#include "base/bind_helpers.h"
#include "base/compiler_specific.h"
#include "base/time/time.h"
-#include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h"
-#include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h"
+#include "chrome/browser/chromeos/ownership/owner_settings_service.h"
+#include "chrome/browser/chromeos/ownership/owner_settings_service_factory.h"
#include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h"
#include "chrome/browser/chromeos/settings/device_settings_test_helper.h"
#include "chrome/test/base/testing_profile.h"
@@ -497,8 +497,8 @@
const std::string& user_id = device_policy_.policy_data().username();
InitOwner(user_id, false);
- OwnerSettingsServiceChromeOS* service =
- OwnerSettingsServiceChromeOSFactory::GetForProfile(profile_.get());
+ OwnerSettingsService* service =
+ OwnerSettingsServiceFactory::GetForProfile(profile_.get());
ASSERT_TRUE(service);
service->IsOwnerAsync(base::Bind(&DeviceSettingsServiceTest::OnIsOwner,
base::Unretained(this)));
@@ -542,8 +542,8 @@
const std::string& user_id = device_policy_.policy_data().username();
owner_key_util_->SetPublicKeyFromPrivateKey(*device_policy_.GetSigningKey());
InitOwner(user_id, false);
- OwnerSettingsServiceChromeOS* service =
- OwnerSettingsServiceChromeOSFactory::GetForProfile(profile_.get());
+ OwnerSettingsService* service =
+ OwnerSettingsServiceFactory::GetForProfile(profile_.get());
ASSERT_TRUE(service);
service->IsOwnerAsync(base::Bind(&DeviceSettingsServiceTest::OnIsOwner,
base::Unretained(this)));
@@ -599,8 +599,8 @@
device_settings_service_.GetOwnershipStatus());
EXPECT_FALSE(is_owner_set_);
- OwnerSettingsServiceChromeOS* service =
- OwnerSettingsServiceChromeOSFactory::GetForProfile(profile_.get());
+ OwnerSettingsService* service =
+ OwnerSettingsServiceFactory::GetForProfile(profile_.get());
ASSERT_TRUE(service);
service->IsOwnerAsync(base::Bind(&DeviceSettingsServiceTest::OnIsOwner,
base::Unretained(this)));

Powered by Google App Engine
This is Rietveld 408576698