| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_ID_H_ | 5 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_ID_H_ |
| 6 #define CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_ID_H_ | 6 #define CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_ID_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <iosfwd> | 9 #include <iosfwd> |
| 10 #include <limits> | 10 #include <limits> |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 syncable::EntryKernel** kernel); | 116 syncable::EntryKernel** kernel); |
| 117 friend int BindFields(const EntryKernel& entry, | 117 friend int BindFields(const EntryKernel& entry, |
| 118 sqlite_utils::SQLStatement* statement); | 118 sqlite_utils::SQLStatement* statement); |
| 119 friend std::ostream& operator<<(std::ostream& out, const Id& id); | 119 friend std::ostream& operator<<(std::ostream& out, const Id& id); |
| 120 friend class MockConnectionManager; | 120 friend class MockConnectionManager; |
| 121 friend class SyncableIdTest; | 121 friend class SyncableIdTest; |
| 122 | 122 |
| 123 std::string s_; | 123 std::string s_; |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 extern const Id kNullId; | 126 Id GetNullId(); |
| 127 | 127 |
| 128 } // namespace syncable | 128 } // namespace syncable |
| 129 | 129 |
| 130 #endif // CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_ID_H_ | 130 #endif // CHROME_BROWSER_SYNC_SYNCABLE_SYNCABLE_ID_H_ |
| OLD | NEW |