Chromium Code Reviews| Index: sync/internal_api/public/sync_context_proxy.h |
| diff --git a/sync/internal_api/public/sync_core_proxy.h b/sync/internal_api/public/sync_context_proxy.h |
| similarity index 62% |
| rename from sync/internal_api/public/sync_core_proxy.h |
| rename to sync/internal_api/public/sync_context_proxy.h |
| index 099b5f93a9b3e9c7c94e86c50872c535b12656bf..9b1e017353b779a28023735dfe4e89183abf846e 100644 |
| --- a/sync/internal_api/public/sync_core_proxy.h |
| +++ b/sync/internal_api/public/sync_context_proxy.h |
| @@ -2,32 +2,32 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef SYNC_INTERNAL_API_PUBLIC_SYNC_CORE_PROXY_H_ |
| -#define SYNC_INTERNAL_API_PUBLIC_SYNC_CORE_PROXY_H_ |
| +#ifndef SYNC_INTERNAL_API_PUBLIC_SYNC_CONTEXT_PROXY_H_ |
| +#define SYNC_INTERNAL_API_PUBLIC_SYNC_CONTEXT_PROXY_H_ |
| #include "base/memory/weak_ptr.h" |
| #include "sync/internal_api/public/base/model_type.h" |
| namespace syncer { |
| -class NonBlockingTypeProcessor; |
| +class ModelTypeSyncProxyImpl; |
| struct DataTypeState; |
| // Interface for the datatype integration logic from non-sync threads. |
| // |
| -// See SyncCoreProxyImpl for an actual implementation. |
| -class SYNC_EXPORT_PRIVATE SyncCoreProxy { |
| +// See SyncContextProxyImpl for an actual implementation. |
| +class SYNC_EXPORT_PRIVATE SyncContextProxy { |
| public: |
| - SyncCoreProxy(); |
| - virtual ~SyncCoreProxy(); |
| + SyncContextProxy(); |
| + virtual ~SyncContextProxy(); |
| // Attempts to connect a non-blocking type to the sync core. |
|
stanisc
2014/06/24 21:59:01
Does this comment still apply?
rlarocque
2014/06/24 23:08:32
Renamed core to context.
I'm not sure how to feel
|
| // |
| // Must be called from the thread where the data type lives. |
| - virtual void ConnectTypeToCore( |
| + virtual void ConnectTypeToSync( |
| syncer::ModelType type, |
| const DataTypeState& data_type_state, |
| - base::WeakPtr<NonBlockingTypeProcessor> type_processor) = 0; |
| + base::WeakPtr<ModelTypeSyncProxyImpl> type_sync_proxy) = 0; |
| // Tells the syncer that we're no longer interested in syncing this type. |
| // |
| @@ -36,10 +36,10 @@ class SYNC_EXPORT_PRIVATE SyncCoreProxy { |
| // and applying updates for this type, too. |
| virtual void Disconnect(syncer::ModelType type) = 0; |
| - // Creates a clone of this SyncCoreProxy. |
| - virtual scoped_ptr<SyncCoreProxy> Clone() const = 0; |
| + // Creates a clone of this SyncContextProxy. |
| + virtual scoped_ptr<SyncContextProxy> Clone() const = 0; |
| }; |
| } // namespace syncer |
| -#endif // SYNC_INTERNAL_API_PUBLIC_SYNC_CORE_PROXY_H_ |
| +#endif // SYNC_INTERNAL_API_PUBLIC_SYNC_CONTEXT_PROXY_H_ |