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

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: . 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..c6d5beaf83ca70e89e5167e4161dbcc8eff1d76b
--- /dev/null
+++ b/sync/internal_api/public/base/invalidation_state.h
@@ -0,0 +1,22 @@
+// 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 {
+
+class AckHandle {
akalin 2012/08/20 21:00:07 add a comment/TODO explaining empty class?
dcheng 2012/08/21 01:23:39 Done.
+};
+
+struct InvalidationState {
+ std::string payload;
+ AckHandle ack_handle;
+};
+
+} // namespace syncer
+
+#endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_H_

Powered by Google App Engine
This is Rietveld 408576698