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

Unified Diff: sync/notifier/p2p_notifier.h

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/notifier/non_blocking_invalidation_notifier_unittest.cc ('k') | sync/notifier/p2p_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/p2p_notifier.h
diff --git a/sync/notifier/p2p_notifier.h b/sync/notifier/p2p_notifier.h
index 3b912838de43d40eb9c131a4adc2c36d645f168c..83ce5951c802f52dbb8251db1fc5dba55771cc81 100644
--- a/sync/notifier/p2p_notifier.h
+++ b/sync/notifier/p2p_notifier.h
@@ -55,14 +55,14 @@ class P2PNotificationData {
P2PNotificationData();
P2PNotificationData(const std::string& sender_id,
P2PNotificationTarget target,
- syncable::ModelTypeSet changed_types);
+ syncer::ModelTypeSet changed_types);
~P2PNotificationData();
// Returns true if the given ID is targeted by this notification.
bool IsTargeted(const std::string& id) const;
- syncable::ModelTypeSet GetChangedTypes() const;
+ syncer::ModelTypeSet GetChangedTypes() const;
bool Equals(const P2PNotificationData& other) const;
@@ -78,7 +78,7 @@ class P2PNotificationData {
// The intendent recipient(s) of the notification.
P2PNotificationTarget target_;
// The types the notification is for.
- syncable::ModelTypeSet changed_types_;
+ syncer::ModelTypeSet changed_types_;
};
class P2PNotifier
@@ -103,9 +103,9 @@ class P2PNotifier
virtual void UpdateCredentials(
const std::string& email, const std::string& token) OVERRIDE;
virtual void UpdateEnabledTypes(
- syncable::ModelTypeSet enabled_types) OVERRIDE;
+ syncer::ModelTypeSet enabled_types) OVERRIDE;
virtual void SendNotification(
- syncable::ModelTypeSet changed_types) OVERRIDE;
+ syncer::ModelTypeSet changed_types) OVERRIDE;
// PushClientObserver implementation.
virtual void OnNotificationsEnabled() OVERRIDE;
@@ -134,7 +134,7 @@ class P2PNotifier
// Which set of clients should be sent notifications.
P2PNotificationTarget send_notification_target_;
- syncable::ModelTypeSet enabled_types_;
+ syncer::ModelTypeSet enabled_types_;
};
} // namespace syncer
« no previous file with comments | « sync/notifier/non_blocking_invalidation_notifier_unittest.cc ('k') | sync/notifier/p2p_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698