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

Unified Diff: sync/engine/model_type_processor_impl_unittest.cc

Issue 1368683003: USS SyncContextProxy / data type activation refactoring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR feedback Created 5 years, 3 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 | « sync/engine/model_type_processor_impl.cc ('k') | sync/internal_api/activation_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/model_type_processor_impl_unittest.cc
diff --git a/sync/engine/model_type_processor_impl_unittest.cc b/sync/engine/model_type_processor_impl_unittest.cc
index 8f57d6993c487d7eb74d840b3aebf9489c3088d3..5e0bc68eb768a057c4ff93ba12934443361f9542 100644
--- a/sync/engine/model_type_processor_impl_unittest.cc
+++ b/sync/engine/model_type_processor_impl_unittest.cc
@@ -4,6 +4,7 @@
#include "sync/engine/model_type_processor_impl.h"
+#include "base/message_loop/message_loop.h"
#include "sync/engine/commit_queue.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/non_blocking_sync_common.h"
@@ -129,6 +130,8 @@ class ModelTypeProcessorImplTest : public ::testing::Test {
scoped_ptr<ModelTypeProcessorImpl> type_processor_;
DataTypeState data_type_state_;
+ // This sets ThreadTaskRunnerHandle on the current thread.
+ base::MessageLoop message_loop_;
};
ModelTypeProcessorImplTest::ModelTypeProcessorImplTest()
« no previous file with comments | « sync/engine/model_type_processor_impl.cc ('k') | sync/internal_api/activation_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698