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

Unified Diff: chrome/browser/search_engines/template_url_service_test_util.h

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/search_engines/template_url_service_test_util.h
diff --git a/chrome/browser/search_engines/template_url_service_test_util.h b/chrome/browser/search_engines/template_url_service_test_util.h
index 4d119fc61922b6a5f14eda6391dfb6b6fcee6b0b..e3c050e09c80369f3b5b3d7b6ec4c5f9410ca418 100644
--- a/chrome/browser/search_engines/template_url_service_test_util.h
+++ b/chrome/browser/search_engines/template_url_service_test_util.h
@@ -14,6 +14,7 @@
#include "base/message_loop.h"
#include "base/string16.h"
#include "chrome/browser/search_engines/template_url_service_observer.h"
+#include "chrome/test/testing_browser_process.h"
#include "content/browser/browser_thread.h"
class TemplateURLService;
@@ -89,6 +90,8 @@ class TemplateURLServiceTestUtil : public TemplateURLServiceObserver {
void StartIOThread();
private:
+ ScopedTestingBrowserProcess browser_process_;
+
MessageLoopForUI message_loop_;
// Needed to make the DeleteOnUIThread trait of WebDataService work
// properly.

Powered by Google App Engine
This is Rietveld 408576698