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

Unified Diff: chrome/renderer/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: chrome/renderer/worker_permission_client_proxy.h
diff --git a/chrome/renderer/worker_permission_client_proxy.h b/chrome/renderer/worker_permission_client_proxy.h
deleted file mode 100644
index e5a8e0da42d931bd08c43e10fd6ea9cc96b337b4..0000000000000000000000000000000000000000
--- a/chrome/renderer/worker_permission_client_proxy.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2013 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 CHROME_RENDERER_WORKER_PERMISSION_CLIENT_PROXY_H_
-#define CHROME_RENDERER_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 IPC {
-class SyncMessageFilter;
-}
-
-namespace content {
-class RenderFrame;
-}
-
-namespace blink {
-class WebFrame;
-}
-
-// This proxy is created on the main renderer thread then passed onto
-// the blink's worker thread.
-class WorkerPermissionClientProxy
- : public blink::WebWorkerPermissionClientProxy {
- public:
- WorkerPermissionClientProxy(content::RenderFrame* render_frame,
- blink::WebFrame* frame);
- virtual ~WorkerPermissionClientProxy();
-
- // 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:
- // Loading document context for this worker.
- const int routing_id_;
- bool is_unique_origin_;
- GURL document_origin_url_;
- GURL top_frame_origin_url_;
- scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_;
-
- DISALLOW_COPY_AND_ASSIGN(WorkerPermissionClientProxy);
-};
-
-#endif // CHROME_RENDERER_WORKER_PERMISSION_CLIENT_PROXY_H_
« no previous file with comments | « chrome/renderer/worker_content_settings_client_proxy.cc ('k') | chrome/renderer/worker_permission_client_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698