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

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

Issue 7550023: [Sync] Add passphrase/encryption info to chrome://sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 5 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
« no previous file with comments | « chrome/browser/sync/sync_ui_util.h ('k') | chrome/browser/sync/sync_ui_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 842b9495c2aa2fe8c36a19618dd9cea8d6a82215..a3501b64e91c032185d85ef4f34251a75f6e12ed 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -12,6 +12,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/sync/protocol/proto_enum_conversions.h"
+#include "chrome/browser/sync/syncable/model_type.h"
#include "chrome/browser/sync/sessions/session_state.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
@@ -425,6 +426,21 @@ void ConstructAboutInformation(ProfileSyncService* service,
sync_ui_util::AddIntSyncDetail(details,
"Useful Sync Cycles",
full_status.useful_sync_cycles);
+ sync_ui_util::AddBoolSyncDetail(details,
+ "Explicit Passphrase",
+ service->IsUsingSecondaryPassphrase());
+ sync_ui_util::AddBoolSyncDetail(details,
+ "Passphrase Required",
+ service->IsPassphraseRequired());
+ sync_ui_util::AddBoolSyncDetail(details,
+ "Cryptographer Ready",
+ full_status.cryptographer_ready);
+ sync_ui_util::AddBoolSyncDetail(details,
+ "Cryptographer Has Pending Keys",
+ full_status.crypto_has_pending_keys);
+ sync_ui_util::AddStringSyncDetails(details,
+ "Encrypted Types",
+ syncable::ModelTypeSetToString(full_status.encrypted_types));
const browser_sync::sessions::SyncSessionSnapshot* snapshot =
service->sync_initialized() ?
« no previous file with comments | « chrome/browser/sync/sync_ui_util.h ('k') | chrome/browser/sync/sync_ui_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698