Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: chrome/browser/sync/syncable/syncable_id.h

Issue 7822008: [Sync] Remove static initializers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/sync/notifier/cache_invalidation_packet_handler.cc ('k') | chrome/browser/sync/syncable/syncable_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698