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

Unified Diff: sync/internal_api/debug_info_event_listener.cc

Issue 377413003: Remove most remaining sync/notifier dependencies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt to fix win compile Created 6 years, 5 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/internal_api/debug_info_event_listener.h ('k') | sync/internal_api/public/base/model_type_test_util.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 b3d55056eb77f307c34427b13d2d31a9c6dc3c5a..3e7780cbe17b5656a42469e04e1fc60bbbcc018a 100644
--- a/sync/internal_api/debug_info_event_listener.cc
+++ b/sync/internal_api/debug_info_event_listener.cc
@@ -4,7 +4,6 @@
#include "sync/internal_api/debug_info_event_listener.h"
-#include "sync/notifier/object_id_invalidation_map.h"
#include "sync/util/cryptographer.h"
namespace syncer {
@@ -128,21 +127,6 @@ void DebugInfoEventListener::OnNudgeFromDatatype(ModelType datatype) {
AddEventToQueue(event_info);
}
-void DebugInfoEventListener::OnIncomingNotification(
- const ObjectIdInvalidationMap& invalidation_map) {
- DCHECK(thread_checker_.CalledOnValidThread());
- sync_pb::DebugEventInfo event_info;
- ModelTypeSet types =
- ObjectIdSetToModelTypeSet(invalidation_map.GetObjectIds());
-
- for (ModelTypeSet::Iterator it = types.First(); it.Good(); it.Inc()) {
- event_info.add_datatypes_notified_from_server(
- GetSpecificsFieldNumberFromModelType(it.Get()));
- }
-
- AddEventToQueue(event_info);
-}
-
void DebugInfoEventListener::GetDebugInfo(sync_pb::DebugInfo* debug_info) {
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK_LE(events_.size(), kMaxEntries);
« no previous file with comments | « sync/internal_api/debug_info_event_listener.h ('k') | sync/internal_api/public/base/model_type_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698