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

Unified Diff: chrome/browser/sync/engine/build_commit_command.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, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/engine/build_commit_command.h
diff --git a/chrome/browser/sync/engine/build_commit_command.h b/chrome/browser/sync/engine/build_commit_command.h
index f48add879f0ad6b92fe731c17ac930dec47eab69..c916d0d5777c76d926902775aff5085ff08b0f97 100644
--- a/chrome/browser/sync/engine/build_commit_command.h
+++ b/chrome/browser/sync/engine/build_commit_command.h
@@ -24,10 +24,10 @@ class BuildCommitCommand : public SyncerCommand {
private:
FRIEND_TEST_ALL_PREFIXES(BuildCommitCommandTest, InterpolatePosition);
- // Constants controlling range of values.
- static const int64 kFirstPosition;
- static const int64 kLastPosition;
- static const int64 kGap;
+ // Functions returning constants controlling range of values.
+ static int64 GetFirstPosition();
+ static int64 GetLastPosition();
+ static int64 GetGap();
void AddExtensionsActivityToMessage(sessions::SyncSession* session,
CommitMessage* message);

Powered by Google App Engine
This is Rietveld 408576698