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

Unified Diff: chrome/browser/ui/webui/sync_internals_ui_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/ui/webui/screenshot_source.cc ('k') | chrome/browser/ui/webui/theme_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_internals_ui_unittest.cc
diff --git a/chrome/browser/ui/webui/sync_internals_ui_unittest.cc b/chrome/browser/ui/webui/sync_internals_ui_unittest.cc
index 0c66340e31783f93cead19c8e073743ff18be195..442155bf4309ccf243da2d717453ac402bda8beb 100644
--- a/chrome/browser/ui/webui/sync_internals_ui_unittest.cc
+++ b/chrome/browser/ui/webui/sync_internals_ui_unittest.cc
@@ -16,8 +16,8 @@
#include "chrome/browser/sync/profile_sync_service_mock.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/profile_mock.h"
-#include "content/browser/browser_thread.h"
#include "content/browser/tab_contents/test_tab_contents.h"
+#include "content/test/test_browser_thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -66,8 +66,8 @@ class SyncInternalsUITestWithService : public ChromeRenderViewHostTestHarness {
{
// Needed by |test_sync_internals_ui_|'s constructor. The
// message loop is provided by ChromeRenderViewHostTestHarness.
- BrowserThread ui_thread_(BrowserThread::UI,
- MessageLoopForUI::current());
+ content::TestBrowserThread ui_thread_(BrowserThread::UI,
+ MessageLoopForUI::current());
// |test_sync_internals_ui_|'s constructor triggers all the
// expectations above.
test_sync_internals_ui_.reset(new TestSyncInternalsUI(contents()));
@@ -142,8 +142,8 @@ class SyncInternalsUITestWithoutService
{
// Needed by |test_sync_internals_ui_|'s constructor. The
// message loop is provided by ChromeRenderViewHostTestHarness.
- BrowserThread ui_thread_(BrowserThread::UI,
- MessageLoopForUI::current());
+ content::TestBrowserThread ui_thread_(BrowserThread::UI,
+ MessageLoopForUI::current());
// |test_sync_internals_ui_|'s constructor triggers all the
// expectations above.
test_sync_internals_ui_.reset(new TestSyncInternalsUI(contents()));
« no previous file with comments | « chrome/browser/ui/webui/screenshot_source.cc ('k') | chrome/browser/ui/webui/theme_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698