OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "sync/internal_api/public/base/unique_position.h" | 5 #include "sync/internal_api/public/base/unique_position.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
7 #include <algorithm> | 10 #include <algorithm> |
8 #include <limits> | 11 #include <limits> |
9 | 12 |
10 #include "base/logging.h" | 13 #include "base/logging.h" |
11 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
12 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
13 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
14 #include "sync/protocol/unique_position.pb.h" | 17 #include "sync/protocol/unique_position.pb.h" |
15 #include "third_party/zlib/zlib.h" | 18 #include "third_party/zlib/zlib.h" |
16 | 19 |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 return false; | 624 return false; |
622 } | 625 } |
623 } | 626 } |
624 } | 627 } |
625 // We don't bother looking for the existence or checking the validity of | 628 // We don't bother looking for the existence or checking the validity of |
626 // any partial blocks. There's no way they could be invalid anyway. | 629 // any partial blocks. There's no way they could be invalid anyway. |
627 return true; | 630 return true; |
628 } | 631 } |
629 | 632 |
630 } // namespace syncer | 633 } // namespace syncer |
OLD | NEW |