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

Unified Diff: chrome/browser/sync/sessions/session_state.cc

Issue 9323015: [Sync] - In about:sync page display if the first sync after restart has taken place or not. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/sessions/session_state.cc
diff --git a/chrome/browser/sync/sessions/session_state.cc b/chrome/browser/sync/sessions/session_state.cc
index d9392f2bfa4c667ffef9090cf31d9d33b1da7d11..5bf0fab3185424886db532954a0565dc2c3bc2e6 100644
--- a/chrome/browser/sync/sessions/session_state.cc
+++ b/chrome/browser/sync/sessions/session_state.cc
@@ -112,7 +112,6 @@ SyncSessionSnapshot::SyncSessionSnapshot(
const SyncerStatus& syncer_status,
const ErrorCounters& errors,
int64 num_server_changes_remaining,
- bool is_share_usable,
syncable::ModelTypeSet initial_sync_ended,
const std::string
(&download_progress_markers)[syncable::MODEL_TYPE_COUNT],
@@ -129,7 +128,6 @@ SyncSessionSnapshot::SyncSessionSnapshot(
: syncer_status(syncer_status),
errors(errors),
num_server_changes_remaining(num_server_changes_remaining),
- is_share_usable(is_share_usable),
initial_sync_ended(initial_sync_ended),
download_progress_markers(),
has_more_to_sync(more_to_sync),
@@ -158,7 +156,6 @@ DictionaryValue* SyncSessionSnapshot::ToValue() const {
// We don't care too much if we lose precision here.
value->SetInteger("numServerChangesRemaining",
static_cast<int>(num_server_changes_remaining));
- value->SetBoolean("isShareUsable", is_share_usable);
value->Set("initialSyncEnded",
syncable::ModelTypeSetToValue(initial_sync_ended));
value->Set("downloadProgressMarkers",

Powered by Google App Engine
This is Rietveld 408576698