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/syncable/syncable_id.h" | 5 #include "components/sync/syncable/syncable_id.h" |
6 | 6 |
7 #include <iosfwd> | |
8 | |
9 #include "base/logging.h" | 7 #include "base/logging.h" |
10 #include "base/values.h" | 8 #include "base/values.h" |
11 | 9 |
12 using std::ostream; | 10 using std::ostream; |
13 using std::string; | 11 using std::string; |
14 | 12 |
15 namespace syncer { | 13 namespace syncer { |
16 namespace syncable { | 14 namespace syncable { |
17 | 15 |
18 ostream& operator<<(ostream& out, const Id& id) { | 16 ostream& operator<<(ostream& out, const Id& id) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 69 |
72 // static | 70 // static |
73 Id Id::GetLeastIdForLexicographicComparison() { | 71 Id Id::GetLeastIdForLexicographicComparison() { |
74 Id id; | 72 Id id; |
75 id.s_.clear(); | 73 id.s_.clear(); |
76 return id; | 74 return id; |
77 } | 75 } |
78 | 76 |
79 } // namespace syncable | 77 } // namespace syncable |
80 } // namespace syncer | 78 } // namespace syncer |
OLD | NEW |