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

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

Issue 968983002: Rename blink::WebWorkerPermissionProxyClient to blink::WebWorkerContentSettingsProxyClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gypi typo Created 5 years, 10 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/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h b/content/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h
deleted file mode 100644
index 2be7b77c1c99d5fc89bf0db7b717cd52e2c2f139..0000000000000000000000000000000000000000
--- a/content/renderer/shared_worker/embedded_shared_worker_permission_client_proxy.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#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"
-#include "third_party/WebKit/public/web/WebWorkerPermissionClientProxy.h"
-#include "url/gurl.h"
-
-namespace content {
-
-class ThreadSafeSender;
-
-// This proxy is created on the main renderer thread then passed onto
-// the blink's worker thread.
-class EmbeddedSharedWorkerPermissionClientProxy
- : public blink::WebWorkerPermissionClientProxy {
- public:
- EmbeddedSharedWorkerPermissionClientProxy(
- const GURL& origin_url,
- bool is_unique_origin,
- int routing_id,
- ThreadSafeSender* thread_safe_sender);
- virtual ~EmbeddedSharedWorkerPermissionClientProxy();
-
- // WebWorkerPermissionClientProxy overrides.
- virtual bool allowDatabase(const blink::WebString& name,
- const blink::WebString& display_name,
- unsigned long estimated_size);
- virtual bool requestFileSystemAccessSync();
- virtual bool allowIndexedDB(const blink::WebString& name);
-
- private:
- const GURL origin_url_;
- const bool is_unique_origin_;
- const int routing_id_;
- scoped_refptr<ThreadSafeSender> thread_safe_sender_;
-
- DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerPermissionClientProxy);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_PERMISSION_CLIENT_PROXY_H_

Powered by Google App Engine
This is Rietveld 408576698