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

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

Issue 6299002: [Sync] Port about:sync to DOMUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added workaround for bug 69633 Created 9 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
« no previous file with comments | « chrome/browser/sync/sync_ui_util.h ('k') | chrome/chrome.gyp » ('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 3f45c38c2eb3617ab8d602ba5111b4ebdb7939c0..3e73fbc30f19187beac956e025ad71f611d6e029 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -281,8 +281,8 @@ std::string MakeSyncAuthErrorText(
void ConstructAboutInformation(ProfileSyncService* service,
DictionaryValue* strings) {
- CHECK(strings != NULL);
- if (!service->HasSyncSetupCompleted()) {
+ CHECK(strings);
+ if (!service || !service->HasSyncSetupCompleted()) {
strings->SetString("summary", "SYNC DISABLED");
} else {
sync_api::SyncManager::Status full_status(
« no previous file with comments | « chrome/browser/sync/sync_ui_util.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698