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

Unified Diff: sync/internal_api/debug_info_event_listener.cc

Issue 11958029: [Sync] Add support for proxy types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch to ProxyTypes Created 7 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
« no previous file with comments | « sync/engine/store_timestamps_command_unittest.cc ('k') | sync/internal_api/public/base/model_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/debug_info_event_listener.cc
diff --git a/sync/internal_api/debug_info_event_listener.cc b/sync/internal_api/debug_info_event_listener.cc
index 1bd83e42af3d43c3cc1cf5f1660523b43e0d7fae..107b10e0ebad76486a96df2437cd2b75eae8e589 100644
--- a/sync/internal_api/debug_info_event_listener.cc
+++ b/sync/internal_api/debug_info_event_listener.cc
@@ -194,6 +194,7 @@ base::WeakPtr<DataTypeDebugInfoListener> DebugInfoEventListener::GetWeakPtr() {
void DebugInfoEventListener::OnDataTypeAssociationComplete(
const DataTypeAssociationStats& association_stats) {
DCHECK(thread_checker_.CalledOnValidThread());
+ DCHECK(ProtocolTypes().Has(association_stats.model_type));
sync_pb::DebugEventInfo association_event;
sync_pb::DatatypeAssociationStats* datatype_stats =
association_event.mutable_datatype_association_stats();
« no previous file with comments | « sync/engine/store_timestamps_command_unittest.cc ('k') | sync/internal_api/public/base/model_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698