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

Unified Diff: content/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h

Issue 318013002: Implement EmbeddedSharedWorkerPermissionClientProxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h
diff --git a/content/worker/shared_worker_permission_client_proxy.h b/content/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h
similarity index 70%
copy from content/worker/shared_worker_permission_client_proxy.h
copy to content/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h
index 0240738347f1acd632b48235bd234b7595a17f38..e7a0c46ba7cc8222301f715b5352972a090a1496 100644
--- a/content/worker/shared_worker_permission_client_proxy.h
+++ b/content/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_WORKER_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_
-#define CONTENT_WORKER_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_
+#ifndef CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_
+#define CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
@@ -16,15 +16,15 @@ class ThreadSafeSender;
// This proxy is created on the main renderer thread then passed onto
// the blink's worker thread.
-class SharedWorkerPermissionClientProxy
+class EmbeddedSharedWorkerPermissionClientProxy
: public blink::WebWorkerPermissionClientProxy {
public:
- SharedWorkerPermissionClientProxy(
+ EmbeddedSharedWorkerPermissionClientProxy(
const GURL& origin_url,
bool is_unique_origin,
int routing_id,
ThreadSafeSender* thread_safe_sender);
- virtual ~SharedWorkerPermissionClientProxy();
+ virtual ~EmbeddedSharedWorkerPermissionClientProxy();
// WebWorkerPermissionClientProxy overrides.
virtual bool allowDatabase(const blink::WebString& name,
@@ -39,9 +39,9 @@ class SharedWorkerPermissionClientProxy
const int routing_id_;
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
- DISALLOW_COPY_AND_ASSIGN(SharedWorkerPermissionClientProxy);
+ DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerPermissionClientProxy);
};
} // namespace content
-#endif // CONTENT_WORKER_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_
+#endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698