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 "components/sync/base/unique_position.h" | 5 #include "components/sync/base/unique_position.h" |
6 | 6 |
7 #include <stddef.h> | |
8 #include <stdint.h> | |
9 | |
10 #include <algorithm> | 7 #include <algorithm> |
11 #include <limits> | 8 #include <limits> |
12 | 9 |
13 #include "base/logging.h" | 10 #include "base/logging.h" |
14 #include "base/rand_util.h" | 11 #include "base/rand_util.h" |
15 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
16 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
17 #include "components/sync/protocol/unique_position.pb.h" | 14 #include "components/sync/protocol/unique_position.pb.h" |
18 #include "third_party/zlib/zlib.h" | 15 #include "third_party/zlib/zlib.h" |
19 | 16 |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 return false; | 608 return false; |
612 } | 609 } |
613 } | 610 } |
614 } | 611 } |
615 // We don't bother looking for the existence or checking the validity of | 612 // We don't bother looking for the existence or checking the validity of |
616 // any partial blocks. There's no way they could be invalid anyway. | 613 // any partial blocks. There's no way they could be invalid anyway. |
617 return true; | 614 return true; |
618 } | 615 } |
619 | 616 |
620 } // namespace syncer | 617 } // namespace syncer |
OLD | NEW |