Index: chrome/browser/sync/sessions/sync_session.cc |
diff --git a/chrome/browser/sync/sessions/sync_session.cc b/chrome/browser/sync/sessions/sync_session.cc |
index a1cea483b1562e9cdbbb16c877ada86d50ca7746..ed0aafa2eb00b5e98db0e7c913d54a333f6572d6 100644 |
--- a/chrome/browser/sync/sessions/sync_session.cc |
+++ b/chrome/browser/sync/sessions/sync_session.cc |
@@ -135,7 +135,6 @@ SyncSessionSnapshot SyncSession::TakeSnapshot() const { |
if (!dir.good()) |
LOG(ERROR) << "Scoped dir lookup failed!"; |
- bool is_share_useable = true; |
syncable::ModelTypeSet initial_sync_ended; |
std::string download_progress_markers[syncable::MODEL_TYPE_COUNT]; |
for (int i = syncable::FIRST_REAL_MODEL_TYPE; |
@@ -144,8 +143,6 @@ SyncSessionSnapshot SyncSession::TakeSnapshot() const { |
if (routing_info_.count(type) != 0) { |
if (dir->initial_sync_ended_for_type(type)) |
initial_sync_ended.Put(type); |
- else |
- is_share_useable = false; |
} |
dir->GetDownloadProgressAsString(type, &download_progress_markers[i]); |
} |
@@ -154,7 +151,6 @@ SyncSessionSnapshot SyncSession::TakeSnapshot() const { |
status_controller_->syncer_status(), |
status_controller_->error(), |
status_controller_->num_server_changes_remaining(), |
- is_share_useable, |
initial_sync_ended, |
download_progress_markers, |
HasMoreToSync(), |