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

Unified Diff: chrome/browser/user_style_sheet_watcher_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/user_style_sheet_watcher_unittest.cc
diff --git a/chrome/browser/user_style_sheet_watcher_unittest.cc b/chrome/browser/user_style_sheet_watcher_unittest.cc
index 8c729a19e6ca682d1af7d472ea91fc0137ed59d6..b1154c95933727f9fdebe14add9823a96b35d199 100644
--- a/chrome/browser/user_style_sheet_watcher_unittest.cc
+++ b/chrome/browser/user_style_sheet_watcher_unittest.cc
@@ -11,10 +11,13 @@
#include "base/scoped_temp_dir.h"
#include "base/string_util.h"
#include "base/threading/thread.h"
+#include "chrome/test/testing_browser_process.h"
#include "content/browser/browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
TEST(UserStyleSheetWatcherTest, StyleLoad) {
+ ScopedTestingBrowserProcess browser_process;
+
ScopedTempDir dir;
ASSERT_TRUE(dir.CreateUniqueTempDir());

Powered by Google App Engine
This is Rietveld 408576698