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

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

Issue 8914022: Revert 114494 - Remove BindStateHolder and have Bind() return a Callback<> object directly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- chrome/browser/sync/glue/session_model_associator.cc (revision 114494)
+++ chrome/browser/sync/glue/session_model_associator.cc (working copy)
@@ -557,8 +557,7 @@
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