OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_ | 5 #ifndef CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_ |
6 #define CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_ | 6 #define CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "ipc/ipc_channel.h" | 10 #include "ipc/ipc_channel.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 public: | 32 public: |
33 WebSharedWorkerClientProxy(int route_id, WebSharedWorkerStub* stub); | 33 WebSharedWorkerClientProxy(int route_id, WebSharedWorkerStub* stub); |
34 virtual ~WebSharedWorkerClientProxy(); | 34 virtual ~WebSharedWorkerClientProxy(); |
35 | 35 |
36 // WebSharedWorkerClient implementation. | 36 // WebSharedWorkerClient implementation. |
37 virtual void workerContextClosed(); | 37 virtual void workerContextClosed(); |
38 virtual void workerContextDestroyed(); | 38 virtual void workerContextDestroyed(); |
39 virtual void workerScriptLoaded(); | 39 virtual void workerScriptLoaded(); |
40 virtual void workerScriptLoadFailed(); | 40 virtual void workerScriptLoadFailed(); |
41 virtual void selectAppCacheID(long long app_cache_id); | 41 virtual void selectAppCacheID(long long app_cache_id); |
| 42 virtual bool enableMemoryInfo(); |
42 | 43 |
43 virtual blink::WebNotificationPresenter* notificationPresenter(); | 44 virtual blink::WebNotificationPresenter* notificationPresenter(); |
44 | 45 |
45 virtual blink::WebApplicationCacheHost* createApplicationCacheHost( | 46 virtual blink::WebApplicationCacheHost* createApplicationCacheHost( |
46 blink::WebApplicationCacheHostClient* client); | 47 blink::WebApplicationCacheHostClient* client); |
47 virtual blink::WebWorkerPermissionClientProxy* | 48 virtual blink::WebWorkerPermissionClientProxy* |
48 createWorkerPermissionClientProxy( | 49 createWorkerPermissionClientProxy( |
49 const blink::WebSecurityOrigin& origin); | 50 const blink::WebSecurityOrigin& origin); |
50 | 51 |
51 virtual void dispatchDevToolsMessage(const blink::WebString&); | 52 virtual void dispatchDevToolsMessage(const blink::WebString&); |
(...skipping 14 matching lines...) Expand all Loading... |
66 base::WeakPtrFactory<WebSharedWorkerClientProxy> weak_factory_; | 67 base::WeakPtrFactory<WebSharedWorkerClientProxy> weak_factory_; |
67 SharedWorkerDevToolsAgent* devtools_agent_; | 68 SharedWorkerDevToolsAgent* devtools_agent_; |
68 WorkerWebApplicationCacheHostImpl* app_cache_host_; | 69 WorkerWebApplicationCacheHostImpl* app_cache_host_; |
69 | 70 |
70 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerClientProxy); | 71 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerClientProxy); |
71 }; | 72 }; |
72 | 73 |
73 } // namespace content | 74 } // namespace content |
74 | 75 |
75 #endif // CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_ | 76 #endif // CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_ |
OLD | NEW |