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

Unified Diff: chrome/browser/sync/sync_ui_util.cc

Issue 9251035: Delete lots of sync ServerConnectionManager code (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/sync_ui_util.cc
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc
index 7cc20915ca7b40b34b84c3a44fbc4dbba7702cd7..32175768f9cd6474dd2fdd7a7624f26efced7708 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -291,11 +291,6 @@ MessageType GetStatusInfo(ProfileSyncService* service,
NULL, NULL, NULL);
}
result_type = SYNC_ERROR;
- } else if (!status.authenticated) {
rlarocque 2012/01/19 02:23:05 Since status.authenticated correlates mostly with
- if (status_label) {
- status_label->assign(
- l10n_util::GetStringUTF16(IDS_SYNC_ACCOUNT_DETAILS_NOT_ENTERED));
- }
}
} else if (service->unrecoverable_error_detected()) {
result_type = SYNC_ERROR;
@@ -512,8 +507,6 @@ void ConstructAboutInformation(ProfileSyncService* service,
full_status.summary));
strings->SetString("version", GetVersionString());
- strings->Set("authenticated",
- new base::FundamentalValue(full_status.authenticated));
strings->SetString("auth_problem",
sync_ui_util::MakeSyncAuthErrorText(
service->GetAuthError().state()));
@@ -531,12 +524,6 @@ void ConstructAboutInformation(ProfileSyncService* service,
"Client ID",
full_status.unique_id.empty() ? "none" : full_status.unique_id);
sync_ui_util::AddBoolSyncDetail(details,
- "Server Up",
- full_status.server_up);
- sync_ui_util::AddBoolSyncDetail(details,
- "Server Reachable",
- full_status.server_reachable);
- sync_ui_util::AddBoolSyncDetail(details,
"Server Broken",
full_status.server_broken);
sync_ui_util::AddBoolSyncDetail(details,
« no previous file with comments | « chrome/browser/sync/profile_sync_service_harness.cc ('k') | chrome/browser/sync/test/engine/mock_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698