Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include/AdblockPlus/Notification.h

Issue 29429555: Noissue - updated to libadblockplus revision dca8df9af1a7 (Closed)
Patch Set: Created May 4, 2017, 5:08 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/AdblockPlus/JsValue.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/Notification.h
diff --git a/include/AdblockPlus/Notification.h b/include/AdblockPlus/Notification.h
index de5053f2f02a7a4c8b81c6f7d46b1ac8f7481bf4..afcbd724b24d952e94b5b7ac7fd81abf73d8ea33 100644
--- a/include/AdblockPlus/Notification.h
+++ b/include/AdblockPlus/Notification.h
@@ -48,8 +48,7 @@ namespace AdblockPlus
/**
* Wrapper for an Adblock Plus notification object.
*/
- class Notification: public JsValue,
- public std::enable_shared_from_this<Notification>
+ class Notification: public JsValue
{
friend class FilterEngine;
protected:
@@ -60,6 +59,26 @@ namespace AdblockPlus
explicit Notification(JsValue&& jsValue);
public:
/**
+ * Copy constructor
+ */
+ Notification(const Notification& src);
+
+ /**
+ * Move constructor
+ */
+ Notification(Notification&& src);
+
+ /**
+ * Assignment operator
+ */
+ Notification& operator=(const Notification& src);
+
+ /**
+ * Move assignment operator
+ */
+ Notification& operator=(Notification&& src);
+
+ /**
* Retrieves the type of this notification.
* @return Type of this notification.
*/
@@ -84,7 +103,6 @@ namespace AdblockPlus
void MarkAsShown();
private:
};
- typedef std::shared_ptr<Notification> NotificationPtr;
}
#endif
« no previous file with comments | « include/AdblockPlus/JsValue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld