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

Unified Diff: sync/internal_api/sync_context_proxy_impl_unittest.cc

Issue 1325453003: [Sync] rename USS processor / worker interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: sync/internal_api/sync_context_proxy_impl_unittest.cc
diff --git a/sync/internal_api/sync_context_proxy_impl_unittest.cc b/sync/internal_api/sync_context_proxy_impl_unittest.cc
index 1bb8f19c203c7c4a34617e4d8727578082233eca..00fe80c1543aef335714098f2992ae233f4377e4 100644
--- a/sync/internal_api/sync_context_proxy_impl_unittest.cc
+++ b/sync/internal_api/sync_context_proxy_impl_unittest.cc
@@ -6,7 +6,7 @@
#include "base/run_loop.h"
#include "base/sequenced_task_runner.h"
#include "base/thread_task_runner_handle.h"
-#include "sync/engine/model_type_sync_proxy_impl.h"
+#include "sync/engine/model_type_processor_impl.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/sync_context.h"
#include "sync/internal_api/sync_context_proxy_impl.h"
@@ -58,7 +58,7 @@ class SyncContextProxyImplTest : public ::testing::Test {
// Try to connect a type to a SyncContext that has already shut down.
TEST_F(SyncContextProxyImplTest, FailToConnect1) {
- ModelTypeSyncProxyImpl themes_sync_proxy(syncer::THEMES);
+ ModelTypeProcessorImpl themes_sync_proxy(syncer::THEMES);
DisableSync();
themes_sync_proxy.Enable(GetProxy());
@@ -69,7 +69,7 @@ TEST_F(SyncContextProxyImplTest, FailToConnect1) {
// Try to connect a type to a SyncContext as it shuts down.
TEST_F(SyncContextProxyImplTest, FailToConnect2) {
- ModelTypeSyncProxyImpl themes_sync_proxy(syncer::THEMES);
+ ModelTypeProcessorImpl themes_sync_proxy(syncer::THEMES);
themes_sync_proxy.Enable(GetProxy());
DisableSync();
@@ -80,8 +80,8 @@ TEST_F(SyncContextProxyImplTest, FailToConnect2) {
// Tests the case where the type's sync proxy shuts down first.
TEST_F(SyncContextProxyImplTest, TypeDisconnectsFirst) {
- scoped_ptr<ModelTypeSyncProxyImpl> themes_sync_proxy(
- new ModelTypeSyncProxyImpl(syncer::THEMES));
+ scoped_ptr<ModelTypeProcessorImpl> themes_sync_proxy(
+ new ModelTypeProcessorImpl(syncer::THEMES));
themes_sync_proxy->Enable(GetProxy());
base::RunLoop run_loop_;
@@ -93,8 +93,8 @@ TEST_F(SyncContextProxyImplTest, TypeDisconnectsFirst) {
// Tests the case where the sync thread shuts down first.
TEST_F(SyncContextProxyImplTest, SyncDisconnectsFirst) {
- scoped_ptr<ModelTypeSyncProxyImpl> themes_sync_proxy(
- new ModelTypeSyncProxyImpl(syncer::THEMES));
+ scoped_ptr<ModelTypeProcessorImpl> themes_sync_proxy(
+ new ModelTypeProcessorImpl(syncer::THEMES));
themes_sync_proxy->Enable(GetProxy());
base::RunLoop run_loop_;

Powered by Google App Engine
This is Rietveld 408576698