OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 virtual void didSendData(unsigned long long bytesSent, unsigned long long to
talBytesToBeSent) override; | 51 virtual void didSendData(unsigned long long bytesSent, unsigned long long to
talBytesToBeSent) override; |
52 virtual void didReceiveResponse(unsigned long identifier, const ResourceResp
onse&, PassOwnPtr<WebDataConsumerHandle>) override; | 52 virtual void didReceiveResponse(unsigned long identifier, const ResourceResp
onse&, PassOwnPtr<WebDataConsumerHandle>) override; |
53 virtual void didReceiveData(const char*, unsigned dataLength) override; | 53 virtual void didReceiveData(const char*, unsigned dataLength) override; |
54 virtual void didDownloadData(int dataLength) override; | 54 virtual void didDownloadData(int dataLength) override; |
55 virtual void didReceiveCachedMetadata(const char*, int dataLength) override; | 55 virtual void didReceiveCachedMetadata(const char*, int dataLength) override; |
56 virtual void didFinishLoading(unsigned long identifier, double finishTime) o
verride; | 56 virtual void didFinishLoading(unsigned long identifier, double finishTime) o
verride; |
57 virtual void didFail(const ResourceError&) override; | 57 virtual void didFail(const ResourceError&) override; |
58 virtual void didFailAccessControlCheck(const ResourceError&) override; | 58 virtual void didFailAccessControlCheck(const ResourceError&) override; |
59 virtual void didFailRedirectCheck() override; | 59 virtual void didFailRedirectCheck() override; |
| 60 virtual void didReceiveResourceTiming(const ResourceTimingInfo&) override; |
60 | 61 |
61 private: | 62 private: |
62 WorkerLoaderClientBridge(PassRefPtr<ThreadableLoaderClientWrapper>, PassRefP
tr<WorkerLoaderProxy>); | 63 WorkerLoaderClientBridge(PassRefPtr<ThreadableLoaderClientWrapper>, PassRefP
tr<WorkerLoaderProxy>); |
63 | 64 |
64 // Used on the worker context thread, while its refcounting is done on | 65 // Used on the worker context thread, while its refcounting is done on |
65 // either thread. | 66 // either thread. |
66 RefPtr<ThreadableLoaderClientWrapper> m_workerClientWrapper; | 67 RefPtr<ThreadableLoaderClientWrapper> m_workerClientWrapper; |
67 | 68 |
68 RefPtr<WorkerLoaderProxy> m_loaderProxy; | 69 RefPtr<WorkerLoaderProxy> m_loaderProxy; |
69 }; | 70 }; |
70 | 71 |
71 } // namespace blink | 72 } // namespace blink |
72 | 73 |
73 #endif // WorkerLoaderClientBridge_h | 74 #endif // WorkerLoaderClientBridge_h |
OLD | NEW |