| Index: sync/notifier/ack_handler.h
|
| diff --git a/sync/notifier/ack_handler.h b/sync/notifier/ack_handler.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..14b52cc72a1d8411ffc673395f8e6ae2e2462639
|
| --- /dev/null
|
| +++ b/sync/notifier/ack_handler.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2013 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_NOTIFIER_ACK_HANDLER_H_
|
| +#define SYNC_NOTIFIER_ACK_HANDLER_H_
|
| +
|
| +#include <vector>
|
| +
|
| +#include "sync/base/sync_export.h"
|
| +
|
| +namespace invalidation {
|
| +class ObjectId;
|
| +} // namespace invalidation
|
| +
|
| +namespace syncer {
|
| +
|
| +class AckHandle;
|
| +
|
| +class SYNC_EXPORT AckHandler {
|
| + public:
|
| + AckHandler();
|
| + virtual ~AckHandler() = 0;
|
| +
|
| + virtual void Acknowledge(
|
| + const invalidation::ObjectId& id,
|
| + const AckHandle& handle) = 0;
|
| + virtual void Drop(
|
| + const invalidation::ObjectId& id,
|
| + const AckHandle& handle) = 0;
|
| +};
|
| +
|
| +} // namespace syncer
|
| +
|
| +#endif // SYNC_NOTIFIER_ACK_HANDLER_H_
|
|
|