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

Unified Diff: chrome/browser/user_style_sheet_watcher_unittest.cc

Issue 8392042: Split BrowserThread into public API and private implementation, step 1. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 2 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
« no previous file with comments | « chrome/browser/user_style_sheet_watcher.h ('k') | chrome/browser/visitedlink/visitedlink_master.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 14f0c76539410f68bf736de3e86076b80c53aecb..5a90d4432d91260862bb161d5a9a4e89148ab0f7 100644
--- a/chrome/browser/user_style_sheet_watcher_unittest.cc
+++ b/chrome/browser/user_style_sheet_watcher_unittest.cc
@@ -12,7 +12,7 @@
#include "base/string_util.h"
#include "base/threading/thread.h"
#include "chrome/test/base/testing_browser_process.h"
-#include "content/browser/browser_thread.h"
+#include "content/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
TEST(UserStyleSheetWatcherTest, StyleLoad) {
@@ -30,9 +30,9 @@ TEST(UserStyleSheetWatcherTest, StyleLoad) {
base::Thread io_thread("UserStyleSheetWatcherTestIOThread");
base::Thread::Options options(MessageLoop::TYPE_IO, 0);
ASSERT_TRUE(io_thread.StartWithOptions(options));
- BrowserThread browser_ui_thread(BrowserThread::UI, &loop);
- BrowserThread browser_file_thread(BrowserThread::FILE,
- io_thread.message_loop());
+ content::TestBrowserThread browser_ui_thread(BrowserThread::UI, &loop);
+ content::TestBrowserThread browser_file_thread(BrowserThread::FILE,
+ io_thread.message_loop());
// It is important that the creation of |style_sheet_watcher| occur after the
// creation of |browser_ui_thread| because UserStyleSheetWatchers are
« no previous file with comments | « chrome/browser/user_style_sheet_watcher.h ('k') | chrome/browser/visitedlink/visitedlink_master.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698