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

Unified Diff: chrome/browser/sync/glue/preference_data_type_controller_unittest.cc

Issue 7465041: GTTF: Use a fresh TestingBrowserProcess for each test, part #4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: should work Created 9 years, 5 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/sync/glue/preference_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc b/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc
index 3bca18bfb5308235fe3581cbf203a1262e6214ea..eeef6e87d4bcef38c9e06474f772970376d554a2 100644
--- a/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/preference_data_type_controller_unittest.cc
@@ -15,6 +15,7 @@
#include "chrome/browser/sync/profile_sync_factory_mock.h"
#include "chrome/browser/sync/profile_sync_service_mock.h"
#include "chrome/test/profile_mock.h"
+#include "chrome/test/testing_browser_process_test.h"
#include "content/browser/browser_thread.h"
using browser_sync::ChangeProcessorMock;
@@ -33,7 +34,7 @@ class StartCallback {
const tracked_objects::Location& location));
};
-class PreferenceDataTypeControllerTest : public testing::Test {
+class PreferenceDataTypeControllerTest : public TestingBrowserProcessTest {
public:
PreferenceDataTypeControllerTest()
: ui_thread_(BrowserThread::UI, &message_loop_) {}

Powered by Google App Engine
This is Rietveld 408576698