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

Unified Diff: include/AdblockPlus/Notification.h

Issue 29364548: Issue 4188 - Update libadblockplus-android to use the latest libadblockplus (Closed)
Patch Set: Created Nov. 25, 2016, 12:36 p.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/LogSystem.h ('k') | include/AdblockPlus/ReferrerMapping.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/Notification.h
===================================================================
--- a/include/AdblockPlus/Notification.h
+++ b/include/AdblockPlus/Notification.h
@@ -1,11 +1,11 @@
/*
* This file is part of Adblock Plus <https://adblockplus.org/>,
- * Copyright (C) 2006-2015 Eyeo GmbH
+ * Copyright (C) 2006-2016 Eyeo GmbH
*
* Adblock Plus is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* Adblock Plus is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -50,31 +50,31 @@ namespace AdblockPlus
*/
class Notification: public JsValue,
public std::enable_shared_from_this<Notification>
{
friend class FilterEngine;
protected:
/**
* Constructor.
- * @param jsValue `JsValuePtr` notification JavaScript object.
+ * @param jsValue `JsValue&&` notification JavaScript object.
*/
- explicit Notification(const JsValuePtr& jsValue);
+ explicit Notification(JsValue&& jsValue);
public:
/**
* Retrieves the type of this notification.
* @return Type of this notification.
*/
NotificationType GetType() const;
/**
* Retrieves the title and message of this notification.
* @return Translated texts.
*/
- NotificationTexts GetTexts();
+ NotificationTexts GetTexts() const;
/**
* Retrieves the URLs which should be mapped to the links in the message.
* @return List of links.
*/
std::vector<std::string> GetLinks() const;
/**
« no previous file with comments | « include/AdblockPlus/LogSystem.h ('k') | include/AdblockPlus/ReferrerMapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld