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

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

Issue 11052007: Rename ModelType/ObjectIdStateMap to InvalidationMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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 | « sync/internal_api/public/base/invalidation.cc ('k') | sync/internal_api/public/base/invalidation_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 8c811afda6684e8ccea314011ce5cb5fb7f46898..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/base/invalidation_state.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// 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>
-
-#include "base/memory/scoped_ptr.h"
-
-namespace base {
-class DictionaryValue;
-class Value;
-} // namespace
-
-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 {
- public:
- bool Equals(const AckHandle& other) const;
-
- scoped_ptr<base::Value> ToValue() const;
-
- bool ResetFromValue(const base::Value& value);
-};
-
-struct InvalidationState {
- std::string payload;
- AckHandle ack_handle;
-
- bool Equals(const InvalidationState& other) const;
-
- // Caller owns the returned DictionaryValue.
- scoped_ptr<base::DictionaryValue> ToValue() const;
-
- bool ResetFromValue(const base::DictionaryValue& value);
-};
-
-} // namespace syncer
-
-#endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_STATE_H_
« no previous file with comments | « sync/internal_api/public/base/invalidation.cc ('k') | sync/internal_api/public/base/invalidation_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698