| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "sync/internal_api/public/base/ack_handle.h" | 5 #include "components/invalidation/ack_handle.h" |
| 6 | 6 |
| 7 #include <cstddef> | 7 #include <cstddef> |
| 8 #include "base/rand_util.h" | 8 #include "base/rand_util.h" |
| 9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 | 11 |
| 12 namespace syncer { | 12 namespace syncer { |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 // Hopefully enough bytes for uniqueness. | 15 // Hopefully enough bytes for uniqueness. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 } | 58 } |
| 59 | 59 |
| 60 AckHandle::AckHandle(const std::string& state, base::Time timestamp) | 60 AckHandle::AckHandle(const std::string& state, base::Time timestamp) |
| 61 : state_(state), timestamp_(timestamp) { | 61 : state_(state), timestamp_(timestamp) { |
| 62 } | 62 } |
| 63 | 63 |
| 64 AckHandle::~AckHandle() { | 64 AckHandle::~AckHandle() { |
| 65 } | 65 } |
| 66 | 66 |
| 67 } // namespace syncer | 67 } // namespace syncer |
| OLD | NEW |