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

Unified Diff: chrome/browser/sync/abstract_profile_sync_service_test.h

Issue 1684643002: Avoid BrowserThread in profile_sync_service_autofill_unittest.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just rebased Created 4 years, 10 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 | « no previous file | chrome/browser/sync/abstract_profile_sync_service_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/abstract_profile_sync_service_test.h
diff --git a/chrome/browser/sync/abstract_profile_sync_service_test.h b/chrome/browser/sync/abstract_profile_sync_service_test.h
index b539e985e934a80a9770b5b34a9a767d5e188bf0..39cb4ccc8c4b665df76d3e92752c38d996491e93 100644
--- a/chrome/browser/sync/abstract_profile_sync_service_test.h
+++ b/chrome/browser/sync/abstract_profile_sync_service_test.h
@@ -14,7 +14,6 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "components/browser_sync/browser/profile_sync_test_util.h"
-#include "content/public/test/test_browser_thread_bundle.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/change_record.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -58,7 +57,10 @@ class AbstractProfileSyncServiceTest : public testing::Test {
scoped_ptr<sync_driver::SyncClient> sync_client,
const base::Closure& initialization_success_callback);
- content::TestBrowserThreadBundle thread_bundle_;
+ // Use |data_type_thread_| for code disallowed on the UI thread.
+ base::Thread data_type_thread_;
+
+ base::MessageLoop message_loop_;
browser_sync::ProfileSyncServiceBundle profile_sync_service_bundle_;
scoped_ptr<TestProfileSyncService> sync_service_;
« no previous file with comments | « no previous file | chrome/browser/sync/abstract_profile_sync_service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698