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

Unified Diff: sync/internal_api/public/sync_core_proxy.h

Issue 351523003: sync: Mass rename of non-blocking sync classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const ref some smart pointers Created 6 years, 6 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/internal_api/public/sync_context_proxy.h ('k') | sync/internal_api/public/sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/sync_core_proxy.h
diff --git a/sync/internal_api/public/sync_core_proxy.h b/sync/internal_api/public/sync_core_proxy.h
deleted file mode 100644
index 099b5f93a9b3e9c7c94e86c50872c535b12656bf..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/sync_core_proxy.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "base/memory/weak_ptr.h"
-#include "sync/internal_api/public/base/model_type.h"
-
-namespace syncer {
-
-class NonBlockingTypeProcessor;
-struct DataTypeState;
-
-// Interface for the datatype integration logic from non-sync threads.
-//
-// See SyncCoreProxyImpl for an actual implementation.
-class SYNC_EXPORT_PRIVATE SyncCoreProxy {
- public:
- SyncCoreProxy();
- virtual ~SyncCoreProxy();
-
- // Attempts to connect a non-blocking type to the sync core.
- //
- // Must be called from the thread where the data type lives.
- virtual void ConnectTypeToCore(
- syncer::ModelType type,
- const DataTypeState& data_type_state,
- base::WeakPtr<NonBlockingTypeProcessor> type_processor) = 0;
-
- // Tells the syncer that we're no longer interested in syncing this type.
- //
- // Once this takes effect, the syncer can assume that it will no longer
- // receive commit requests for this type. It should also stop requesting
- // 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;
-};
-
-} // namespace syncer
-
-#endif // SYNC_INTERNAL_API_PUBLIC_SYNC_CORE_PROXY_H_
« no previous file with comments | « sync/internal_api/public/sync_context_proxy.h ('k') | sync/internal_api/public/sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698