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

Unified Diff: chrome/browser/chromeos/settings/device_settings_test_helper.h

Issue 14927015: Translate device-local account IDs to user IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed DeviceLocalAccountTest. Created 7 years, 7 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_test_helper.h
diff --git a/chrome/browser/chromeos/settings/device_settings_test_helper.h b/chrome/browser/chromeos/settings/device_settings_test_helper.h
index bc137d72b8a03718ea85d39f1adcc12883533885..ed867cd8f0e84e9c45e591eab673db50d231be3a 100644
--- a/chrome/browser/chromeos/settings/device_settings_test_helper.h
+++ b/chrome/browser/chromeos/settings/device_settings_test_helper.h
@@ -15,7 +15,6 @@
#include "base/message_loop.h"
#include "base/string_util.h"
#include "chrome/browser/chromeos/policy/device_policy_builder.h"
-#include "chrome/browser/chromeos/settings/device_settings_service.h"
#include "chrome/browser/chromeos/settings/device_settings_test_helper.h"
#include "chrome/browser/chromeos/settings/mock_owner_key_util.h"
#include "chromeos/dbus/session_manager_client.h"
@@ -145,7 +144,7 @@ class ScopedDeviceSettingsTestHelper : public DeviceSettingsTestHelper {
// A convenience test base class that initializes a DeviceSettingsService
// instance for testing and allows for straightforward updating of device
-// settings. |device_settings_service_| starts out in uninitialized state, so
+// settings. The DeviceSettingsService starts out in uninitialized state, so
// startup code gets tested as well.
class DeviceSettingsTestBase : public testing::Test {
protected:
@@ -158,8 +157,8 @@ class DeviceSettingsTestBase : public testing::Test {
// Flushes any pending device settings operations.
void FlushDeviceSettings();
- // Triggers an owner key and device settings reload on
- // |device_settings_service_| and flushes the resulting load operation.
+ // Triggers an owner key and device settings reload on the
+ // DeviceSettingsService and flushes the resulting load operation.
void ReloadDeviceSettings();
MessageLoop loop_;
@@ -170,9 +169,6 @@ class DeviceSettingsTestBase : public testing::Test {
DeviceSettingsTestHelper device_settings_test_helper_;
scoped_refptr<MockOwnerKeyUtil> owner_key_util_;
- // Local DeviceSettingsService instance for tests. Avoid using in combination
- // with the global instance (DeviceSettingsService::Get()).
- DeviceSettingsService device_settings_service_;
Mattias Nissler (ping if slow) 2013/05/15 09:38:47 And everything moves in the direction of global si
bartfab (slow) 2013/05/17 11:14:28 I agree. For some reason, I thought it would be mu
private:
DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase);

Powered by Google App Engine
This is Rietveld 408576698