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

Unified Diff: Source/modules/push_messaging/PushController.h

Issue 461163002: Cleanup namespace usage in Source/core/modules/[mediasource/* to websockets/*] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/modules/netinfo/NetworkInformation.h ('k') | Source/modules/push_messaging/PushError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushController.h
diff --git a/Source/modules/push_messaging/PushController.h b/Source/modules/push_messaging/PushController.h
index fbd1aa70c00a15299fc862f0ff11929ca1fad853..a755f981caf7073fe41c12893c34cc8c273c6975 100644
--- a/Source/modules/push_messaging/PushController.h
+++ b/Source/modules/push_messaging/PushController.h
@@ -12,32 +12,30 @@
#include "wtf/PassOwnPtr.h"
namespace blink {
-class WebPushClient;
-} // namespace blink
-namespace blink {
+class WebPushClient;
class PushController FINAL : public NoBaseWillBeGarbageCollected<PushController>, public WillBeHeapSupplement<Page> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PushController);
WTF_MAKE_NONCOPYABLE(PushController);
public:
- static PassOwnPtrWillBeRawPtr<PushController> create(blink::WebPushClient*);
+ static PassOwnPtrWillBeRawPtr<PushController> create(WebPushClient*);
static const char* supplementName();
static PushController* from(Page* page) { return static_cast<PushController*>(WillBeHeapSupplement<Page>::from(page, supplementName())); }
- static blink::WebPushClient* clientFrom(Page*);
+ static WebPushClient* clientFrom(Page*);
- blink::WebPushClient* client() const { return m_client; }
+ WebPushClient* client() const { return m_client; }
virtual void trace(Visitor* visitor) OVERRIDE { WillBeHeapSupplement<Page>::trace(visitor); }
private:
- explicit PushController(blink::WebPushClient*);
+ explicit PushController(WebPushClient*);
- blink::WebPushClient* m_client;
+ WebPushClient* m_client;
};
-void providePushControllerTo(Page&, blink::WebPushClient*);
+void providePushControllerTo(Page&, WebPushClient*);
} // namespace blink
« no previous file with comments | « Source/modules/netinfo/NetworkInformation.h ('k') | Source/modules/push_messaging/PushError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698