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

Unified Diff: sync/internal_api/debug_info_event_listener.cc

Issue 10696087: [Sync] Move ModelType and related classes to 'syncer' namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort headers, update copyrights Created 8 years, 6 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/js_mutation_event_observer.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 99f5411d30991ab2eb76aba00674643c6b709f92..259ad76279e745f12093f89407b9cfd6b0e256a1 100644
--- a/sync/internal_api/debug_info_event_listener.cc
+++ b/sync/internal_api/debug_info_event_listener.cc
@@ -79,7 +79,7 @@ void DebugInfoEventListener::OnUpdatedToken(const std::string& token) {
}
void DebugInfoEventListener::OnEncryptedTypesChanged(
- syncable::ModelTypeSet encrypted_types,
+ syncer::ModelTypeSet encrypted_types,
bool encrypt_everything) {
CreateAndAddEvent(sync_pb::DebugEventInfo::ENCRYPTED_TYPES_CHANGED);
}
@@ -101,23 +101,22 @@ void DebugInfoEventListener::SetCryptographerReady(bool ready) {
cryptographer_ready_ = ready;
}
-void DebugInfoEventListener::OnNudgeFromDatatype(
- syncable::ModelType datatype) {
+void DebugInfoEventListener::OnNudgeFromDatatype(syncer::ModelType datatype) {
sync_pb::DebugEventInfo event_info;
event_info.set_nudging_datatype(
- syncable::GetSpecificsFieldNumberFromModelType(datatype));
+ syncer::GetSpecificsFieldNumberFromModelType(datatype));
AddEventToQueue(event_info);
}
void DebugInfoEventListener::OnIncomingNotification(
- const syncable::ModelTypePayloadMap& type_payloads) {
+ const syncer::ModelTypePayloadMap& type_payloads) {
sync_pb::DebugEventInfo event_info;
- syncable::ModelTypeSet types = ModelTypePayloadMapToEnumSet(type_payloads);
+ syncer::ModelTypeSet types = ModelTypePayloadMapToEnumSet(type_payloads);
- for (syncable::ModelTypeSet::Iterator it = types.First();
+ for (syncer::ModelTypeSet::Iterator it = types.First();
it.Good(); it.Inc()) {
event_info.add_datatypes_notified_from_server(
- syncable::GetSpecificsFieldNumberFromModelType(it.Get()));
+ syncer::GetSpecificsFieldNumberFromModelType(it.Get()));
}
AddEventToQueue(event_info);
« no previous file with comments | « sync/internal_api/debug_info_event_listener.h ('k') | sync/internal_api/js_mutation_event_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698