| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_H_ |
| 6 #define SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/time.h" | 12 #include "base/time/time.h" |
| 13 #include "sync/base/sync_export.h" | 13 #include "sync/base/sync_export.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class DictionaryValue; | 16 class DictionaryValue; |
| 17 } // namespace | 17 } // namespace |
| 18 | 18 |
| 19 namespace syncer { | 19 namespace syncer { |
| 20 | 20 |
| 21 // Opaque class that represents a local ack handle. We don't reuse the | 21 // Opaque class that represents a local ack handle. We don't reuse the |
| 22 // invalidation ack handles to avoid unnecessary dependencies. | 22 // invalidation ack handles to avoid unnecessary dependencies. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 scoped_ptr<base::DictionaryValue> ToValue() const; | 56 scoped_ptr<base::DictionaryValue> ToValue() const; |
| 57 bool ResetFromValue(const base::DictionaryValue& value); | 57 bool ResetFromValue(const base::DictionaryValue& value); |
| 58 | 58 |
| 59 std::string payload; | 59 std::string payload; |
| 60 AckHandle ack_handle; | 60 AckHandle ack_handle; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace syncer | 63 } // namespace syncer |
| 64 | 64 |
| 65 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_H_ | 65 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_INVALIDATION_H_ |
| OLD | NEW |