X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Flocal_discovery%2Fprivet_notifications.h;h=5a7338fdc3bf9a4659383d9a8cb00588b6fa37aa;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=527db0acf876ad0aa183f06c9169b8534399701d;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/local_discovery/privet_notifications.h b/src/chrome/browser/local_discovery/privet_notifications.h index 527db0a..5a7338f 100644 --- a/src/chrome/browser/local_discovery/privet_notifications.h +++ b/src/chrome/browser/local_discovery/privet_notifications.h @@ -95,18 +95,19 @@ class PrivetNotificationService public base::SupportsWeakPtr { public: explicit PrivetNotificationService(content::BrowserContext* profile); - virtual ~PrivetNotificationService(); + ~PrivetNotificationService() override; // PrivetDeviceLister::Delegate implementation: - virtual void DeviceChanged(bool added, const std::string& name, - const DeviceDescription& description) OVERRIDE; - virtual void DeviceRemoved(const std::string& name) OVERRIDE; + void DeviceChanged(bool added, + const std::string& name, + const DeviceDescription& description) override; + void DeviceRemoved(const std::string& name) override; // PrivetNotificationListener::Delegate implementation: - virtual void PrivetNotify(bool has_multiple, bool added) OVERRIDE; + void PrivetNotify(bool has_multiple, bool added) override; - virtual void PrivetRemoveNotification() OVERRIDE; - virtual void DeviceCacheFlushed() OVERRIDE; + void PrivetRemoveNotification() override; + void DeviceCacheFlushed() override; static bool IsEnabled(); static bool IsForced(); @@ -132,19 +133,14 @@ class PrivetNotificationDelegate : public NotificationDelegate { explicit PrivetNotificationDelegate(content::BrowserContext* profile); // NotificationDelegate implementation. - virtual std::string id() const OVERRIDE; - virtual content::WebContents* GetWebContents() const OVERRIDE; - virtual void Display() OVERRIDE; - virtual void Error() OVERRIDE; - virtual void Close(bool by_user) OVERRIDE; - virtual void Click() OVERRIDE; - virtual void ButtonClick(int button_index) OVERRIDE; + std::string id() const override; + void ButtonClick(int button_index) override; private: void OpenTab(const GURL& url); void DisableNotifications(); - virtual ~PrivetNotificationDelegate(); + ~PrivetNotificationDelegate() override; content::BrowserContext* profile_; };