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

Unified Diff: chrome/browser/desktop_notification_handler.h

Issue 7053041: Add a Create method to DesktopNotificationHandler and stubs for the notification objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 6 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/desktop_notification_handler.h
diff --git a/chrome/browser/desktop_notification_handler.h b/chrome/browser/desktop_notification_handler.h
index d956ec03bcce9c9406e232992fe11f87dbb7ec87..51ce7e8bbbc3096e9ad67dca8f64f75483d7c879 100644
--- a/chrome/browser/desktop_notification_handler.h
+++ b/chrome/browser/desktop_notification_handler.h
@@ -15,10 +15,12 @@ struct DesktopNotificationHostMsg_Show_Params;
// coming in from the renderer.
class DesktopNotificationHandler : public RenderViewHostObserver {
public:
- explicit DesktopNotificationHandler(RenderViewHost* render_view_host);
+ static DesktopNotificationHandler* Create(RenderViewHost* render_view_host);
virtual ~DesktopNotificationHandler();
private:
+ explicit DesktopNotificationHandler(RenderViewHost* render_view_host);
+
// RenderViewHostObserver implementation.
virtual bool OnMessageReceived(const IPC::Message& message);

Powered by Google App Engine
This is Rietveld 408576698