| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 String m_cacheStorageCacheName; | 450 String m_cacheStorageCacheName; |
| 451 int64_t m_responseTime; | 451 int64_t m_responseTime; |
| 452 String m_remoteIPAddress; | 452 String m_remoteIPAddress; |
| 453 unsigned short m_remotePort; | 453 unsigned short m_remotePort; |
| 454 String m_downloadedFilePath; | 454 String m_downloadedFilePath; |
| 455 RefPtr<BlobDataHandle> m_downloadedFileHandle; | 455 RefPtr<BlobDataHandle> m_downloadedFileHandle; |
| 456 }; | 456 }; |
| 457 | 457 |
| 458 } // namespace blink | 458 } // namespace blink |
| 459 | 459 |
| 460 namespace WTF { |
| 461 |
| 462 template <> |
| 463 struct CrossThreadCopier<blink::ResourceResponse> { |
| 464 STATIC_ONLY(CrossThreadCopier); |
| 465 typedef PassedWrapper<std::unique_ptr<blink::CrossThreadResourceResponseData
>> Type; |
| 466 PLATFORM_EXPORT static Type copy(const blink::ResourceResponse& response) |
| 467 { |
| 468 return passed(response.copyData()); |
| 469 } |
| 470 }; |
| 471 |
| 472 } // namespace WTF |
| 473 |
| 460 #endif // ResourceResponse_h | 474 #endif // ResourceResponse_h |
| OLD | NEW |