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

Unified Diff: chrome/browser/chromeos/drive/drive_system_service_unittest.cc

Issue 14200028: Make CrosSettings and DeviceSettingsService non Lazy instances (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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/drive/drive_system_service_unittest.cc
diff --git a/chrome/browser/chromeos/drive/drive_system_service_unittest.cc b/chrome/browser/chromeos/drive/drive_system_service_unittest.cc
index b0fac0e556f85deec612fcac5bab90bb0276663f..852b84c2a62fe0b02c414c725cc2d0f1842f40f2 100644
--- a/chrome/browser/chromeos/drive/drive_system_service_unittest.cc
+++ b/chrome/browser/chromeos/drive/drive_system_service_unittest.cc
@@ -7,6 +7,7 @@
#include "base/message_loop.h"
#include "chrome/browser/chromeos/drive/drive_test_util.h"
#include "chrome/browser/chromeos/drive/mock_drive_file_system.h"
+#include "chrome/browser/chromeos/settings/cros_settings.h"
#include "chrome/browser/google_apis/dummy_drive_service.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/test_browser_thread.h"
@@ -45,6 +46,8 @@ class DriveSystemServiceTest : public testing::Test {
content::TestBrowserThread ui_thread_;
scoped_ptr<TestingProfile> profile_;
+ chromeos::ScopedTestCrosSettings test_cros_settings_;
+
MockDriveFileSystem* file_system_;
DriveSystemService* system_service_;
};

Powered by Google App Engine
This is Rietveld 408576698