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

Unified Diff: components/invalidation/ack_handler.h

Issue 400073003: Finish decoupling sync and invalidations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix GN Created 6 years, 5 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 | « components/invalidation/ack_handle.cc ('k') | components/invalidation/ack_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/ack_handler.h
diff --git a/sync/internal_api/public/base/ack_handler.h b/components/invalidation/ack_handler.h
similarity index 62%
rename from sync/internal_api/public/base/ack_handler.h
rename to components/invalidation/ack_handler.h
index 7fcd6a450f35bc700735eb412306cdc4a3a1a06e..0a2f642bb77e166a7e98a4990bae94c323081a46 100644
--- a/sync/internal_api/public/base/ack_handler.h
+++ b/components/invalidation/ack_handler.h
@@ -2,12 +2,12 @@
// 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_BASE_ACK_HANDLER_H_
-#define SYNC_INTERNAL_API_PUBLIC_BASE_ACK_HANDLER_H_
+#ifndef COMPONENTS_INVALIDATION_ACK_HANDLER_H_
+#define COMPONENTS_INVALIDATION_ACK_HANDLER_H_
#include <vector>
-#include "sync/base/sync_export.h"
+#include "components/invalidation/invalidation_export.h"
namespace invalidation {
class ObjectId;
@@ -21,22 +21,20 @@ class AckHandle;
//
// We don't expect to support more than one "real" implementation of AckHandler,
// but this interface is very useful for testing and implementation hiding.
-class SYNC_EXPORT AckHandler {
+class INVALIDATION_EXPORT AckHandler {
public:
AckHandler();
virtual ~AckHandler() = 0;
// Record the local acknowledgement of an invalidation identified by |handle|.
- virtual void Acknowledge(
- const invalidation::ObjectId& id,
- const AckHandle& handle) = 0;
+ virtual void Acknowledge(const invalidation::ObjectId& id,
+ const AckHandle& handle) = 0;
// Record the drop of an invalidation identified by |handle|.
- virtual void Drop(
- const invalidation::ObjectId& id,
- const AckHandle& handle) = 0;
+ virtual void Drop(const invalidation::ObjectId& id,
+ const AckHandle& handle) = 0;
};
} // namespace syncer
-#endif // SYNC_INTERNAL_API_PUBLIC_BASE_ACK_HANDLER_H_
+#endif // COMPONENTS_INVALIDATION_ACK_HANDLER_H_
« no previous file with comments | « components/invalidation/ack_handle.cc ('k') | components/invalidation/ack_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698