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

Unified Diff: chrome/browser/password_manager/password_store_x_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: update 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/password_manager/password_store_x_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_x_unittest.cc b/chrome/browser/password_manager/password_store_x_unittest.cc
index 7dd480ec89a34d58de6fd493ab465d60fde12e5a..87685847daaeca0c614a91060842ba71d63792ce 100644
--- a/chrome/browser/password_manager/password_store_x_unittest.cc
+++ b/chrome/browser/password_manager/password_store_x_unittest.cc
@@ -21,6 +21,7 @@
#include "chrome/common/pref_names.h"
#include "chrome/test/base/signaling_task.h"
#include "chrome/test/base/testing_profile.h"
+#include "chrome/test/testing_browser_process.h"
#include "content/common/notification_details.h"
#include "content/common/notification_observer_mock.h"
#include "content/common/notification_registrar.h"
@@ -316,6 +317,8 @@ class PasswordStoreXTest : public testing::TestWithParam<BackendType> {
}
}
+ ScopedTestingBrowserProcess browser_process_;
+
MessageLoopForUI message_loop_;
BrowserThread ui_thread_;
BrowserThread db_thread_; // PasswordStore, WDS schedule work on this thread.

Powered by Google App Engine
This is Rietveld 408576698