Index: chrome/test/live_sync/profile_sync_service_test_harness.cc |
diff --git a/chrome/test/live_sync/profile_sync_service_test_harness.cc b/chrome/test/live_sync/profile_sync_service_test_harness.cc |
index 7c4ce652f197c4dc2e4e57f798e21b26c52000a0..4bcc27313b6f9bf647384db4de6cf5b41ecb4859 100644 |
--- a/chrome/test/live_sync/profile_sync_service_test_harness.cc |
+++ b/chrome/test/live_sync/profile_sync_service_test_harness.cc |
@@ -16,9 +16,9 @@ |
using browser_sync::sessions::SyncSessionSnapshot; |
-// The default value for min_updates_needed_ when we're not in a call to |
-// WaitForUpdatesRecievedAtLeast. |
-static const int kMinUpdatesNeededNone = -1; |
+// The default value for min_timestamp_needed_ when we're not in the |
+// WAITING_FOR_UPDATES state. |
+static const int kMinTimestampNeededNone = -1; |
static const ProfileSyncService::Status kInvalidStatus = {}; |
@@ -87,7 +87,7 @@ ProfileSyncServiceTestHarness::ProfileSyncServiceTestHarness( |
: wait_state_(WAITING_FOR_INITIAL_CALLBACK), profile_(p), service_(NULL), |
last_status_(kInvalidStatus), |
last_timestamp_(0), |
- min_timestamp_needed_(kMinUpdatesNeededNone), |
+ min_timestamp_needed_(kMinTimestampNeededNone), |
username_(username), password_(password) { |
// Ensure the profile has enough prefs registered for use by sync. |
if (!p->GetPrefs()->FindPreference(prefs::kAcceptLanguages)) |