| Index: content/shell/renderer/test_runner/notification_presenter.h
|
| diff --git a/content/shell/renderer/test_runner/notification_presenter.h b/content/shell/renderer/test_runner/notification_presenter.h
|
| index b0934cd7d15138bf1d6a6806d39309799fe626b8..083223ade66fc3edb1710171386b3b8e2f652244 100644
|
| --- a/content/shell/renderer/test_runner/notification_presenter.h
|
| +++ b/content/shell/renderer/test_runner/notification_presenter.h
|
| @@ -12,12 +12,10 @@
|
| #include "third_party/WebKit/public/web/WebNotification.h"
|
| #include "third_party/WebKit/public/web/WebNotificationPresenter.h"
|
|
|
| -namespace WebTestRunner {
|
| -class WebTestDelegate;
|
| -}
|
| -
|
| namespace content {
|
|
|
| +class WebTestDelegate;
|
| +
|
| // A class that implements WebNotificationPresenter for the TestRunner library.
|
| class NotificationPresenter : public blink::WebNotificationPresenter {
|
| public:
|
| @@ -33,9 +31,7 @@ class NotificationPresenter : public blink::WebNotificationPresenter {
|
| // Called by the TestRunner to reset the presenter to an default state.
|
| void Reset();
|
|
|
| - void set_delegate(WebTestRunner::WebTestDelegate* delegate) {
|
| - delegate_ = delegate;
|
| - }
|
| + void set_delegate(WebTestDelegate* delegate) { delegate_ = delegate; }
|
|
|
| // blink::WebNotificationPresenter interface
|
| virtual bool show(const blink::WebNotification& notification);
|
| @@ -48,7 +44,7 @@ class NotificationPresenter : public blink::WebNotificationPresenter {
|
| blink::WebNotificationPermissionCallback* callback);
|
|
|
| private:
|
| - WebTestRunner::WebTestDelegate* delegate_;
|
| + WebTestDelegate* delegate_;
|
|
|
| // Map of known origins and whether they are allowed to show notifications.
|
| typedef std::map<std::string, bool> KnownOriginMap;
|
|
|