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

Unified Diff: content/shell/renderer/test_runner/notification_presenter.h

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: 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;
« no previous file with comments | « content/shell/renderer/test_runner/gamepad_controller.cc ('k') | content/shell/renderer/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698