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

Unified Diff: chrome/browser/notifications/notification_object_proxy.cc

Issue 578883003: Remove the strict dependency on WebContents for Web Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: plumb through render_process_id 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/notifications/notification_object_proxy.cc
diff --git a/chrome/browser/notifications/notification_object_proxy.cc b/chrome/browser/notifications/notification_object_proxy.cc
index 0c54952553b7b7733b65c37a404d8715376a6d99..c5dab66f001834c57d3ff08ef3ff00ba79afcab5 100644
--- a/chrome/browser/notifications/notification_object_proxy.cc
+++ b/chrome/browser/notifications/notification_object_proxy.cc
@@ -5,18 +5,13 @@
#include "chrome/browser/notifications/notification_object_proxy.h"
#include "base/guid.h"
-#include "base/strings/stringprintf.h"
#include "content/public/browser/desktop_notification_delegate.h"
-#include "content/public/browser/render_frame_host.h"
-#include "content/public/browser/render_process_host.h"
-#include "content/public/browser/web_contents.h"
NotificationObjectProxy::NotificationObjectProxy(
scoped_ptr<content::DesktopNotificationDelegate> delegate)
: delegate_(delegate.Pass()),
displayed_(false),
- id_(base::GenerateGUID()) {
-}
+ id_(base::GenerateGUID()) {}
NotificationObjectProxy::~NotificationObjectProxy() {}
« no previous file with comments | « chrome/browser/notifications/notification_object_proxy.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698