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

Unified Diff: content/public/browser/content_browser_client.h

Issue 433273002: NotificationObjectProxy should own the DesktopNotificationDelegateImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pass as scoped_ptr Created 6 years, 4 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
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 1885fe224d56f7333f3b8dcda72a9641ec586747..23ea93765f8faa3b1750b26d06aaad0da2533a23 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -16,6 +16,7 @@
#include "base/memory/scoped_vector.h"
#include "base/values.h"
#include "content/public/browser/certificate_request_result_type.h"
+#include "content/public/browser/desktop_notification_delegate.h"
#include "content/public/common/content_client.h"
#include "content/public/common/resource_type.h"
#include "content/public/common/socket_permission_request.h"
@@ -437,7 +438,7 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual void ShowDesktopNotification(
const ShowDesktopNotificationHostMsgParams& params,
RenderFrameHost* render_frame_host,
- DesktopNotificationDelegate* delegate,
+ scoped_ptr<DesktopNotificationDelegate> delegate,
base::Closure* cancel_callback) {}
// The renderer is requesting permission to use Geolocation. When the answer
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698