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

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

Issue 9460047: sync: remove use of protobuf extensions in protocol to reduce static init overhead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fred's review Created 8 years, 10 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
Index: chrome/browser/sync/glue/session_change_processor.cc
diff --git a/chrome/browser/sync/glue/session_change_processor.cc b/chrome/browser/sync/glue/session_change_processor.cc
index 8b51ed98694f8878745a042360cf697d44083e87..00b99794983a7fbbc527a20b813c028c353a3cc2 100644
--- a/chrome/browser/sync/glue/session_change_processor.cc
+++ b/chrome/browser/sync/glue/session_change_processor.cc
@@ -264,8 +264,7 @@ void SessionChangeProcessor::ApplyChangesFromSyncModel(
// and just ensure we've disassociated.
DCHECK_EQ(syncable::GetModelTypeFromSpecifics(it->specifics),
syncable::SESSIONS);
- const sync_pb::SessionSpecifics& specifics =
- it->specifics.GetExtension(sync_pb::session);
+ const sync_pb::SessionSpecifics& specifics = it->specifics.session();
session_model_associator_->DisassociateForeignSession(
specifics.session_tag());
continue;
« no previous file with comments | « chrome/browser/sync/glue/password_change_processor.cc ('k') | chrome/browser/sync/glue/typed_url_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698