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

Unified Diff: chrome/browser/sync/glue/session_model_associator.cc

Issue 8915024: Retry 114494 - Remove BindStateHolder and have Bind() return a Callback<> object directly." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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/glue/session_model_associator.cc
diff --git a/chrome/browser/sync/glue/session_model_associator.cc b/chrome/browser/sync/glue/session_model_associator.cc
index 402e8efde247a499cb19ef065801a5b3715937dd..51db3de6abd864d330ac9a6f14997e72fd35149f 100644
--- a/chrome/browser/sync/glue/session_model_associator.cc
+++ b/chrome/browser/sync/glue/session_model_associator.cc
@@ -557,7 +557,8 @@ void SessionModelAssociator::InitializeCurrentMachineTag(
tab_pool_.set_machine_tag(current_machine_tag_);
}
-void SessionModelAssociator::OnSessionNameInitialized(const std::string name) {
+void SessionModelAssociator::OnSessionNameInitialized(
+ const std::string& name) {
DCHECK(CalledOnValidThread());
// Only use the default machine name if it hasn't already been set.
if (current_session_name_.empty())
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator.h ('k') | chrome/browser/sync/internal_api/sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698