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

Unified Diff: chrome/browser/chromeos/policy/consumer_enrollment_handler.cc

Issue 684253002: Provide default implementations for NotificationDelegate methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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: chrome/browser/chromeos/policy/consumer_enrollment_handler.cc
diff --git a/chrome/browser/chromeos/policy/consumer_enrollment_handler.cc b/chrome/browser/chromeos/policy/consumer_enrollment_handler.cc
index aa1238ebe66f8089ef8151fb1eb8e607b2532f6a..97c297095e620b89cfbebeb92dbb723a1032cd0f 100644
--- a/chrome/browser/chromeos/policy/consumer_enrollment_handler.cc
+++ b/chrome/browser/chromeos/policy/consumer_enrollment_handler.cc
@@ -75,11 +75,7 @@ class DesktopNotificationDelegate : public NotificationDelegate {
// NotificationDelegate:
virtual std::string id() const override;
- virtual void Display() override;
virtual void ButtonClick(int button_index) override;
- virtual void Error() override;
- virtual void Close(bool by_user) override;
- virtual void Click() override;
private:
virtual ~DesktopNotificationDelegate();
@@ -103,22 +99,10 @@ std::string DesktopNotificationDelegate::id() const {
return id_;
}
-void DesktopNotificationDelegate::Display() {
-}
-
void DesktopNotificationDelegate::ButtonClick(int button_index) {
button_click_callback_.Run();
}
-void DesktopNotificationDelegate::Error() {
-}
-
-void DesktopNotificationDelegate::Close(bool by_user) {
-}
-
-void DesktopNotificationDelegate::Click() {
-}
-
} // namespace
namespace policy {

Powered by Google App Engine
This is Rietveld 408576698