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

Unified Diff: chrome/browser/sync/profile_sync_service_startup_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/profile_sync_service_startup_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
index 652230e65ec947cbfe60d6faaccaa7971189a45c..7d3513ca1fa1f2f783b7a277ec919feb88a7358f 100644
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
@@ -18,6 +18,7 @@
#include "chrome/common/net/gaia/gaia_auth_consumer.h"
#include "chrome/common/net/gaia/gaia_constants.h"
#include "chrome/common/pref_names.h"
+#include "chrome/test/testing_browser_process_test.h"
#include "chrome/test/testing_profile.h"
#include "content/browser/browser_thread.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -37,7 +38,7 @@ ACTION_P(InvokeCallback, callback_result) {
}
// TODO(chron): Test not using cros_user flag and use signin_
-class ProfileSyncServiceStartupTest : public testing::Test {
+class ProfileSyncServiceStartupTest : public TestingBrowserProcessTest {
public:
ProfileSyncServiceStartupTest()
: ui_thread_(BrowserThread::UI, &ui_loop_),

Powered by Google App Engine
This is Rietveld 408576698