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

Unified Diff: jingle/notifier/listener/notification_defines.h

Issue 10388227: Revert 138216 - [Sync] Turn notifier::PushClient into an interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
Index: jingle/notifier/listener/notification_defines.h
===================================================================
--- jingle/notifier/listener/notification_defines.h (revision 138220)
+++ jingle/notifier/listener/notification_defines.h (working copy)
@@ -11,10 +11,6 @@
namespace notifier {
struct Subscription {
- Subscription();
- ~Subscription();
- bool Equals(const Subscription& other) const;
-
// The name of the channel to subscribe to; usually but not always
// a URL.
std::string channel;
@@ -25,15 +21,8 @@
typedef std::vector<Subscription> SubscriptionList;
-bool SubscriptionListsEqual(const SubscriptionList& subscriptions1,
- const SubscriptionList& subscriptions2);
-
// A structure representing a <recipient/> block within a push message.
struct Recipient {
- Recipient();
- ~Recipient();
- bool Equals(const Recipient& other) const;
-
// The bare jid of the recipient.
std::string to;
// User-specific data for the recipient.
@@ -42,9 +31,6 @@
typedef std::vector<Recipient> RecipientList;
-bool RecipientListsEqual(const RecipientList& recipients1,
- const RecipientList& recipients2);
-
struct Notification {
Notification();
~Notification();
@@ -56,7 +42,6 @@
// The notification data payload.
std::string data;
- bool Equals(const Notification& other) const;
std::string ToString() const;
};
« no previous file with comments | « jingle/notifier/listener/non_blocking_push_client_unittest.cc ('k') | jingle/notifier/listener/notification_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698