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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 687183004: Remove the OnError method from notification delegates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 4fe94bf9166e5984a5f781c0c4cdea0a4fe813d5..0baac98336ac1f7b23bf4bccf6966d26b15f6817 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -101,16 +101,6 @@ class DesktopNotificationDelegateImpl : public DesktopNotificationDelegate {
rfh->GetRoutingID(), notification_id_));
}
- void NotificationError() override {
- RenderFrameHost* rfh =
- RenderFrameHost::FromID(render_process_id_, render_frame_id_);
- if (!rfh)
- return;
-
- rfh->Send(new DesktopNotificationMsg_PostError(
- rfh->GetRoutingID(), notification_id_));
- }
-
void NotificationClosed(bool by_user) override {
RenderFrameHost* rfh =
RenderFrameHost::FromID(render_process_id_, render_frame_id_);

Powered by Google App Engine
This is Rietveld 408576698