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

Unified Diff: components/invalidation/ack_handler.h

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 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 | « 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/components/invalidation/ack_handler.h b/components/invalidation/ack_handler.h
deleted file mode 100644
index 0a2f642bb77e166a7e98a4990bae94c323081a46..0000000000000000000000000000000000000000
--- a/components/invalidation/ack_handler.h
+++ /dev/null
@@ -1,40 +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 COMPONENTS_INVALIDATION_ACK_HANDLER_H_
-#define COMPONENTS_INVALIDATION_ACK_HANDLER_H_
-
-#include <vector>
-
-#include "components/invalidation/invalidation_export.h"
-
-namespace invalidation {
-class ObjectId;
-} // namespace invalidation
-
-namespace syncer {
-
-class AckHandle;
-
-// An interface for classes that keep track of invalidation acknowledgements.
-//
-// 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 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;
-
- // Record the drop of an invalidation identified by |handle|.
- virtual void Drop(const invalidation::ObjectId& id,
- const AckHandle& handle) = 0;
-};
-
-} // namespace syncer
-
-#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