Index: content/renderer/notification_provider.cc |
=================================================================== |
--- content/renderer/notification_provider.cc (revision 163045) |
+++ content/renderer/notification_provider.cc (working copy) |
@@ -22,8 +22,11 @@ |
using WebKit::WebString; |
using WebKit::WebURL; |
+namespace content { |
+ |
+ |
NotificationProvider::NotificationProvider(RenderViewImpl* render_view) |
- : content::RenderViewObserver(render_view) { |
+ : RenderViewObserver(render_view) { |
} |
NotificationProvider::~NotificationProvider() { |
@@ -99,7 +102,7 @@ |
bool NotificationProvider::ShowHTML(const WebNotification& notification, |
int id) { |
DCHECK(notification.isHTML()); |
- content::ShowDesktopNotificationHostMsgParams params; |
+ ShowDesktopNotificationHostMsgParams params; |
WebDocument document = render_view()->GetWebView()->mainFrame()->document(); |
params.origin = GURL(document.securityOrigin().toString()); |
params.is_html = true; |
@@ -112,7 +115,7 @@ |
bool NotificationProvider::ShowText(const WebNotification& notification, |
int id) { |
DCHECK(!notification.isHTML()); |
- content::ShowDesktopNotificationHostMsgParams params; |
+ ShowDesktopNotificationHostMsgParams params; |
params.is_html = false; |
WebDocument document = render_view()->GetWebView()->mainFrame()->document(); |
params.origin = GURL(document.securityOrigin().toString()); |
@@ -173,3 +176,5 @@ |
void NotificationProvider::OnNavigate() { |
manager_.Clear(); |
} |
+ |
+} // namespace content |