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

Unified Diff: chrome/browser/sync/sessions/sync_session.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/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(),

Powered by Google App Engine
This is Rietveld 408576698