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

Unified Diff: chrome/browser/ui/webui/theme_source_unittest.cc

Issue 14307023: chrome: Use base::MessageLoop. (Part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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/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 4f21862b3a031ec848e9dfdcaa328613b67f1357..a3d09d18693f0a416974f3f55ad9834665f602bc 100644
--- a/chrome/browser/ui/webui/theme_source_unittest.cc
+++ b/chrome/browser/ui/webui/theme_source_unittest.cc
@@ -19,7 +19,7 @@ class WebUISourcesTest : public testing::Test {
public:
WebUISourcesTest()
: result_data_size_(0),
- ui_thread_(BrowserThread::UI, MessageLoop::current()) {}
+ ui_thread_(BrowserThread::UI, base::MessageLoop::current()) {}
TestingProfile* profile() const { return profile_.get(); }
ThemeSource* theme_source() const { return theme_source_.get(); }
@@ -50,7 +50,7 @@ class WebUISourcesTest : public testing::Test {
content::URLDataSource::GotDataCallback callback_;
- MessageLoop loop_;
+ base::MessageLoop loop_;
content::TestBrowserThread ui_thread_;
scoped_ptr<TestingProfile> profile_;
@@ -77,7 +77,7 @@ TEST_F(WebUISourcesTest, ThemeSourceImages) {
TEST_F(WebUISourcesTest, ThemeSourceCSS) {
content::TestBrowserThread io_thread(BrowserThread::IO,
- MessageLoop::current());
+ base::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/sync_setup_handler_unittest.cc ('k') | chrome/browser/ui/webui/web_ui_test_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698