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

Unified Diff: chrome/browser/sync/invalidations/invalidator_storage.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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/glue/synced_session.h ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/invalidations/invalidator_storage.cc
diff --git a/chrome/browser/sync/invalidations/invalidator_storage.cc b/chrome/browser/sync/invalidations/invalidator_storage.cc
index acbbd47cb94696cc0f97a0a925a7e1f36610b9e2..e88d0e24e012cf1b263712a52bbc51175df49094 100644
--- a/chrome/browser/sync/invalidations/invalidator_storage.cc
+++ b/chrome/browser/sync/invalidations/invalidator_storage.cc
@@ -282,8 +282,10 @@ void InvalidatorStorage::SetBootstrapData(const std::string& data) {
}
std::string InvalidatorStorage::GetBootstrapData() const {
- std::string base64_data(pref_service_ ?
- pref_service_->GetString(prefs::kInvalidatorInvalidationState) : "");
+ std::string base64_data(
+ pref_service_
+ ? pref_service_->GetString(prefs::kInvalidatorInvalidationState)
+ : std::string());
std::string data;
base::Base64Decode(base64_data, &data);
return data;
« no previous file with comments | « chrome/browser/sync/glue/synced_session.h ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698