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

Unified Diff: sync/notifier/p2p_notifier.h

Issue 10795018: [Sync] Remove unneeded 'using syncer::' lines and 'syncer::' scopings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fiix indent Created 8 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/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 83ce5951c802f52dbb8251db1fc5dba55771cc81..a360f2561025499b8172adafc36ec8a55a427cfc 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,
- syncer::ModelTypeSet changed_types);
+ ModelTypeSet changed_types);
~P2PNotificationData();
// Returns true if the given ID is targeted by this notification.
bool IsTargeted(const std::string& id) const;
- syncer::ModelTypeSet GetChangedTypes() const;
+ 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.
- syncer::ModelTypeSet changed_types_;
+ ModelTypeSet changed_types_;
};
class P2PNotifier
@@ -102,10 +102,8 @@ class P2PNotifier
virtual void SetStateDeprecated(const std::string& state) OVERRIDE;
virtual void UpdateCredentials(
const std::string& email, const std::string& token) OVERRIDE;
- virtual void UpdateEnabledTypes(
- syncer::ModelTypeSet enabled_types) OVERRIDE;
- virtual void SendNotification(
- syncer::ModelTypeSet changed_types) OVERRIDE;
+ virtual void UpdateEnabledTypes(ModelTypeSet enabled_types) OVERRIDE;
+ virtual void SendNotification(ModelTypeSet changed_types) OVERRIDE;
// PushClientObserver implementation.
virtual void OnNotificationsEnabled() OVERRIDE;
@@ -134,7 +132,7 @@ class P2PNotifier
// Which set of clients should be sent notifications.
P2PNotificationTarget send_notification_target_;
- syncer::ModelTypeSet enabled_types_;
+ 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