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

Unified Diff: Source/web/WorkerContentSettingsClient.h

Issue 968163003: Rename WorkerPermissionClient and friends to WorkerContentSettingsClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix Created 5 years, 9 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/WebSharedWorkerImpl.cpp ('k') | Source/web/WorkerContentSettingsClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WorkerContentSettingsClient.h
diff --git a/Source/web/WorkerPermissionClient.h b/Source/web/WorkerContentSettingsClient.h
similarity index 69%
rename from Source/web/WorkerPermissionClient.h
rename to Source/web/WorkerContentSettingsClient.h
index 0702e64b01da90c4c3e40b6946d6107fbaa8d154..8adf79308361c466e709ef061fd7bbae153e9283 100644
--- a/Source/web/WorkerPermissionClient.h
+++ b/Source/web/WorkerContentSettingsClient.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WorkerPermissionClient_h
-#define WorkerPermissionClient_h
+#ifndef WorkerContentSettingsClient_h
+#define WorkerContentSettingsClient_h
#include "core/workers/WorkerClients.h"
#include "wtf/Forward.h"
@@ -38,30 +38,30 @@ namespace blink {
class ExecutionContext;
class WebString;
-class WebWorkerPermissionClientProxy;
+class WebWorkerContentSettingsClientProxy;
-class WorkerPermissionClient final : public NoBaseWillBeGarbageCollectedFinalized<WorkerPermissionClient>, public WillBeHeapSupplement<WorkerClients> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerPermissionClient);
+class WorkerContentSettingsClient final : public NoBaseWillBeGarbageCollectedFinalized<WorkerContentSettingsClient>, public WillBeHeapSupplement<WorkerClients> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerContentSettingsClient);
public:
- static PassOwnPtrWillBeRawPtr<WorkerPermissionClient> create(PassOwnPtr<WebWorkerPermissionClientProxy>);
- virtual ~WorkerPermissionClient();
+ static PassOwnPtrWillBeRawPtr<WorkerContentSettingsClient> create(PassOwnPtr<WebWorkerContentSettingsClientProxy>);
+ virtual ~WorkerContentSettingsClient();
bool requestFileSystemAccessSync();
bool allowIndexedDB(const WebString& name);
static const char* supplementName();
- static WorkerPermissionClient* from(ExecutionContext&);
+ static WorkerContentSettingsClient* from(ExecutionContext&);
DEFINE_INLINE_VIRTUAL_TRACE() { WillBeHeapSupplement<WorkerClients>::trace(visitor); }
private:
- explicit WorkerPermissionClient(PassOwnPtr<WebWorkerPermissionClientProxy>);
+ explicit WorkerContentSettingsClient(PassOwnPtr<WebWorkerContentSettingsClientProxy>);
- OwnPtr<WebWorkerPermissionClientProxy> m_proxy;
+ OwnPtr<WebWorkerContentSettingsClientProxy> m_proxy;
};
-void providePermissionClientToWorker(WorkerClients*, PassOwnPtr<WebWorkerPermissionClientProxy>);
+void provideContentSettingsClientToWorker(WorkerClients*, PassOwnPtr<WebWorkerContentSettingsClientProxy>);
} // namespace blink
-#endif // WorkerPermissionClient_h
+#endif // WorkerContentSettingsClient_h
« no previous file with comments | « Source/web/WebSharedWorkerImpl.cpp ('k') | Source/web/WorkerContentSettingsClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698