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

Unified Diff: chrome/browser/sync/glue/sync_backend_registrar_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
Index: chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc b/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
index e47843ad9e02d84eafec5b54eddca59ea6bbcf31..a51ecad08bb17e27d333b2984a5c5bb4d10dfcee 100644
--- a/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
@@ -9,7 +9,7 @@
#include "chrome/browser/sync/syncable/model_type.h"
#include "chrome/browser/sync/test/engine/test_user_share.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/browser/browser_thread.h"
+#include "content/test/test_browser_thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -67,7 +67,7 @@ class SyncBackendRegistrarTest : public testing::Test {
TestUserShare test_user_share_;
private:
- BrowserThread ui_thread_;
+ content::TestBrowserThread ui_thread_;
};
TEST_F(SyncBackendRegistrarTest, ConstructorEmpty) {
@@ -204,7 +204,7 @@ TEST_F(SyncBackendRegistrarTest, ActivateDeactivateUIDataType) {
}
TEST_F(SyncBackendRegistrarTest, ActivateDeactivateNonUIDataType) {
- BrowserThread db_thread(BrowserThread::DB, &loop_);
+ content::TestBrowserThread db_thread(BrowserThread::DB, &loop_);
InSequence in_sequence;
TestingProfile profile;
SyncBackendRegistrar registrar(ModelTypeSet(), "test", &profile, &loop_);
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_registrar.cc ('k') | chrome/browser/sync/glue/theme_data_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698