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

Side by Side Diff: Source/web/WorkerPermissionClient.h

Issue 564713002: Web SQL: Remove more worker-related code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Windows build Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 30 matching lines...) Expand all
41 class WebPermissionCallbacks; 41 class WebPermissionCallbacks;
42 class WebString; 42 class WebString;
43 class WebWorkerPermissionClientProxy; 43 class WebWorkerPermissionClientProxy;
44 44
45 class WorkerPermissionClient FINAL : public NoBaseWillBeGarbageCollectedFinalize d<WorkerPermissionClient>, public WillBeHeapSupplement<WorkerClients> { 45 class WorkerPermissionClient FINAL : public NoBaseWillBeGarbageCollectedFinalize d<WorkerPermissionClient>, public WillBeHeapSupplement<WorkerClients> {
46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerPermissionClient); 46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerPermissionClient);
47 public: 47 public:
48 static PassOwnPtrWillBeRawPtr<WorkerPermissionClient> create(PassOwnPtr<WebW orkerPermissionClientProxy>); 48 static PassOwnPtrWillBeRawPtr<WorkerPermissionClient> create(PassOwnPtr<WebW orkerPermissionClientProxy>);
49 virtual ~WorkerPermissionClient(); 49 virtual ~WorkerPermissionClient();
50 50
51 bool allowDatabase(const WebString& name, const WebString& displayName, unsi gned long estimatedSize);
52 bool requestFileSystemAccessSync(); 51 bool requestFileSystemAccessSync();
53 bool allowIndexedDB(const WebString& name); 52 bool allowIndexedDB(const WebString& name);
54 53
55 static const char* supplementName(); 54 static const char* supplementName();
56 static WorkerPermissionClient* from(ExecutionContext&); 55 static WorkerPermissionClient* from(ExecutionContext&);
57 56
58 virtual void trace(Visitor* visitor) OVERRIDE { WillBeHeapSupplement<WorkerC lients>::trace(visitor); } 57 virtual void trace(Visitor* visitor) OVERRIDE { WillBeHeapSupplement<WorkerC lients>::trace(visitor); }
59 58
60 private: 59 private:
61 explicit WorkerPermissionClient(PassOwnPtr<WebWorkerPermissionClientProxy>); 60 explicit WorkerPermissionClient(PassOwnPtr<WebWorkerPermissionClientProxy>);
62 61
63 OwnPtr<WebWorkerPermissionClientProxy> m_proxy; 62 OwnPtr<WebWorkerPermissionClientProxy> m_proxy;
64 }; 63 };
65 64
66 void providePermissionClientToWorker(WorkerClients*, PassOwnPtr<WebWorkerPermiss ionClientProxy>); 65 void providePermissionClientToWorker(WorkerClients*, PassOwnPtr<WebWorkerPermiss ionClientProxy>);
67 66
68 } // namespace blink 67 } // namespace blink
69 68
70 #endif // WorkerPermissionClient_h 69 #endif // WorkerPermissionClient_h
OLDNEW
« no previous file with comments | « Source/web/WorkerGlobalScopeProxyProviderImpl.cpp ('k') | Source/web/WorkerPermissionClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698