OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // methods must be called from a worker thread. Such methods are suffixed with | 63 // methods must be called from a worker thread. Such methods are suffixed with |
64 // *OnWorkerThread or have header comments. | 64 // *OnWorkerThread or have header comments. |
65 class WebSharedWorkerImpl final : public WebFrameClient, | 65 class WebSharedWorkerImpl final : public WebFrameClient, |
66 public WebSharedWorker, | 66 public WebSharedWorker, |
67 public WebDevToolsAgentClient, | 67 public WebDevToolsAgentClient, |
68 private WorkerLoaderProxyProvider { | 68 private WorkerLoaderProxyProvider { |
69 public: | 69 public: |
70 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); | 70 explicit WebSharedWorkerImpl(WebSharedWorkerClient*); |
71 | 71 |
72 // WebFrameClient methods to support resource loading thru the 'shadow page'. | 72 // WebFrameClient methods to support resource loading thru the 'shadow page'. |
73 WebApplicationCacheHost* CreateApplicationCacheHost( | 73 std::unique_ptr<WebApplicationCacheHost> CreateApplicationCacheHost( |
74 WebApplicationCacheHostClient*) override; | 74 WebApplicationCacheHostClient*) override; |
75 void DidFinishDocumentLoad(WebLocalFrame*) override; | 75 void DidFinishDocumentLoad(WebLocalFrame*) override; |
76 | 76 |
77 // WebDevToolsAgentClient overrides. | 77 // WebDevToolsAgentClient overrides. |
78 void SendProtocolMessage(int session_id, | 78 void SendProtocolMessage(int session_id, |
79 int call_id, | 79 int call_id, |
80 const WebString&, | 80 const WebString&, |
81 const WebString&) override; | 81 const WebString&) override; |
82 void ResumeStartup() override; | 82 void ResumeStartup() override; |
83 WebDevToolsAgentClient::WebKitClientMessageLoop* CreateClientMessageLoop() | 83 WebDevToolsAgentClient::WebKitClientMessageLoop* CreateClientMessageLoop() |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 RefPtr<WorkerLoaderProxy> loader_proxy_; | 155 RefPtr<WorkerLoaderProxy> loader_proxy_; |
156 | 156 |
157 WebURL url_; | 157 WebURL url_; |
158 WebString name_; | 158 WebString name_; |
159 WebAddressSpace creation_address_space_; | 159 WebAddressSpace creation_address_space_; |
160 }; | 160 }; |
161 | 161 |
162 } // namespace blink | 162 } // namespace blink |
163 | 163 |
164 #endif // WebSharedWorkerImpl_h | 164 #endif // WebSharedWorkerImpl_h |
OLD | NEW |