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

Unified Diff: Source/web/WorkerPermissionClient.h

Issue 474183002: Cleanup namespace usage in Source/web/*.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/web/WorkerGlobalScopeProxyProviderImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WorkerPermissionClient.h
diff --git a/Source/web/WorkerPermissionClient.h b/Source/web/WorkerPermissionClient.h
index 9a6708a3e1f949ddfe5b800857df5ccdebdf2cf1..5d8fd55f936bd3ab6b2e087916e4a69cc07fac1c 100644
--- a/Source/web/WorkerPermissionClient.h
+++ b/Source/web/WorkerPermissionClient.h
@@ -35,21 +35,17 @@
#include "wtf/Forward.h"
namespace blink {
-class ExecutionContext;
-}
-
-namespace blink {
+class ExecutionContext;
class WebFrame;
class WebPermissionCallbacks;
class WebString;
class WebWorkerPermissionClientProxy;
-class WorkerPermissionClient FINAL : public NoBaseWillBeGarbageCollectedFinalized<WorkerPermissionClient>, public WillBeHeapSupplement<blink::WorkerClients> {
+class WorkerPermissionClient FINAL : public NoBaseWillBeGarbageCollectedFinalized<WorkerPermissionClient>, public WillBeHeapSupplement<WorkerClients> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerPermissionClient);
public:
static PassOwnPtrWillBeRawPtr<WorkerPermissionClient> create(PassOwnPtr<WebWorkerPermissionClientProxy>);
-
virtual ~WorkerPermissionClient();
bool allowDatabase(const WebString& name, const WebString& displayName, unsigned long estimatedSize);
@@ -57,9 +53,9 @@ public:
bool allowIndexedDB(const WebString& name);
static const char* supplementName();
- static WorkerPermissionClient* from(blink::ExecutionContext&);
+ static WorkerPermissionClient* from(ExecutionContext&);
- virtual void trace(blink::Visitor* visitor) OVERRIDE { WillBeHeapSupplement<blink::WorkerClients>::trace(visitor); }
+ virtual void trace(Visitor* visitor) OVERRIDE { WillBeHeapSupplement<WorkerClients>::trace(visitor); }
private:
explicit WorkerPermissionClient(PassOwnPtr<WebWorkerPermissionClientProxy>);
@@ -67,7 +63,7 @@ private:
OwnPtr<WebWorkerPermissionClientProxy> m_proxy;
};
-void providePermissionClientToWorker(blink::WorkerClients*, PassOwnPtr<WebWorkerPermissionClientProxy>);
+void providePermissionClientToWorker(WorkerClients*, PassOwnPtr<WebWorkerPermissionClientProxy>);
} // namespace blink
« no previous file with comments | « Source/web/WorkerGlobalScopeProxyProviderImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698