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

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

Issue 9348036: Trim code from sync's ServerConnectionManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase after Fred's patch Created 8 years, 9 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 b569a7de7e31e8248a6cfd2ba5ddce449f0c9d78..e66d1e6b51b014bb01a47481cd086938bfd08fe1 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -319,11 +319,6 @@ MessageType GetStatusInfo(ProfileSyncService* service,
NULL, NULL, NULL);
}
result_type = SYNC_ERROR;
- } else if (!status.authenticated) {
- 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;
@@ -517,8 +512,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()));
@@ -536,12 +529,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,
"Notifications Enabled",
full_status.notifications_enabled);
sync_ui_util::AddIntSyncDetail(details,
« no previous file with comments | « chrome/browser/sync/retry_verifier.h ('k') | chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698