| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 std::unique_ptr<WebApplicationCacheHost> CreateApplicationCacheHost( | 73 std::unique_ptr<WebApplicationCacheHost> CreateApplicationCacheHost( |
| 74 WebApplicationCacheHostClient*) override; | 74 WebApplicationCacheHostClient*) override; |
| 75 void FrameDetached(WebLocalFrame*, DetachType) override; |
| 75 void DidFinishDocumentLoad() override; | 76 void DidFinishDocumentLoad() override; |
| 76 | 77 |
| 77 // WebDevToolsAgentClient overrides. | 78 // WebDevToolsAgentClient overrides. |
| 78 void SendProtocolMessage(int session_id, | 79 void SendProtocolMessage(int session_id, |
| 79 int call_id, | 80 int call_id, |
| 80 const WebString&, | 81 const WebString&, |
| 81 const WebString&) override; | 82 const WebString&) override; |
| 82 void ResumeStartup() override; | 83 void ResumeStartup() override; |
| 83 WebDevToolsAgentClient::WebKitClientMessageLoop* CreateClientMessageLoop() | 84 WebDevToolsAgentClient::WebKitClientMessageLoop* CreateClientMessageLoop() |
| 84 override; | 85 override; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 RefPtr<WorkerLoaderProxy> loader_proxy_; | 156 RefPtr<WorkerLoaderProxy> loader_proxy_; |
| 156 | 157 |
| 157 WebURL url_; | 158 WebURL url_; |
| 158 WebString name_; | 159 WebString name_; |
| 159 WebAddressSpace creation_address_space_; | 160 WebAddressSpace creation_address_space_; |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 } // namespace blink | 163 } // namespace blink |
| 163 | 164 |
| 164 #endif // WebSharedWorkerImpl_h | 165 #endif // WebSharedWorkerImpl_h |
| OLD | NEW |