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

Unified Diff: sync/internal_api/public/base/invalidation_state.h

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 8 years, 4 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
Index: sync/internal_api/public/base/invalidation_state.h
diff --git a/sync/internal_api/public/base/invalidation_state.h b/sync/internal_api/public/base/invalidation_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..8b790197a88d68f449adcd6bffa8ad3bc8ffe20f
--- /dev/null
+++ b/sync/internal_api/public/base/invalidation_state.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 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_BASE_INVALIDATION_STATE_H_
+#define SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_H_
+
+#include <string>
+
+namespace syncer {
+
+// Opaque class that represents an ack handle.
+// TODO(dcheng): This is just a refactoring change, so the class is empty for
+// the moment. It will be filled once we start implementing 'reminders'.
+class AckHandle {
+};
+
+struct InvalidationState {
+ std::string payload;
+ AckHandle ack_handle;
+};
+
+} // namespace syncer
+
+#endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_H_
« no previous file with comments | « sync/internal_api/js_sync_manager_observer_unittest.cc ('k') | sync/internal_api/public/base/invalidation_state_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698