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

Unified Diff: chrome/browser/ui/webui/theme_source_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/theme_source.cc ('k') | chrome/browser/ui/webui/web_ui_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/theme_source_unittest.cc
diff --git a/chrome/browser/ui/webui/theme_source_unittest.cc b/chrome/browser/ui/webui/theme_source_unittest.cc
index 0e358a029024272bac49b77f7c6719a74b8224e7..1355216c010469b043f78c9636b331b3b12957a4 100644
--- a/chrome/browser/ui/webui/theme_source_unittest.cc
+++ b/chrome/browser/ui/webui/theme_source_unittest.cc
@@ -7,7 +7,7 @@
#include "chrome/browser/ui/webui/theme_source.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/browser/browser_thread.h"
+#include "content/test/test_browser_thread.h"
#include "grit/theme_resources.h"
#include "grit/theme_resources_standard.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -51,7 +51,7 @@ class WebUISourcesTest : public testing::Test {
}
MessageLoop loop_;
- BrowserThread ui_thread_;
+ content::TestBrowserThread ui_thread_;
scoped_ptr<TestingProfile> profile_;
scoped_refptr<MockThemeSource> theme_source_;
@@ -77,7 +77,8 @@ TEST_F(WebUISourcesTest, ThemeSourceImages) {
}
TEST_F(WebUISourcesTest, ThemeSourceCSS) {
- BrowserThread io_thread(BrowserThread::IO, MessageLoop::current());
+ content::TestBrowserThread io_thread(BrowserThread::IO,
+ MessageLoop::current());
// Generating the test data for the NTP CSS would just involve copying the
// method, or being super brittle and hard-coding the result (requiring
// an update to the unittest every time the CSS template changes), so we
« no previous file with comments | « chrome/browser/ui/webui/theme_source.cc ('k') | chrome/browser/ui/webui/web_ui_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698