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

Unified Diff: chrome/browser/desktop_notification_handler.cc

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, 7 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.cc
diff --git a/chrome/browser/desktop_notification_handler.cc b/chrome/browser/desktop_notification_handler.cc
index da6f2e83de40b79be00f1b2c9c767e983561a06b..0565c9319d34375ef55f1bf677d299ecd3e4006b 100644
--- a/chrome/browser/desktop_notification_handler.cc
+++ b/chrome/browser/desktop_notification_handler.cc
@@ -21,6 +21,12 @@ DesktopNotificationHandler::DesktopNotificationHandler(
DesktopNotificationHandler::~DesktopNotificationHandler() {
}
+// static
Torne 2011/06/02 16:18:35 Reorder the constructor/create method in this file
+DesktopNotificationHandler*
+DesktopNotificationHandler::Create(RenderViewHost* render_view_host) {
+ return new DesktopNotificationHandler(render_view_host);
+}
+
bool DesktopNotificationHandler::OnMessageReceived(
const IPC::Message& message) {
bool handled = true;

Powered by Google App Engine
This is Rietveld 408576698