| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2011 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 class WebThreadedDataReceiver; | 40 class WebThreadedDataReceiver; |
| 41 } | 41 } |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class Resource; | 45 class Resource; |
| 46 class KURL; | 46 class KURL; |
| 47 class ResourceError; | 47 class ResourceError; |
| 48 class ResourceResponse; | |
| 49 class ResourceLoaderHost; | 48 class ResourceLoaderHost; |
| 50 | 49 |
| 51 class ResourceLoader FINAL : public RefCountedWillBeGarbageCollectedFinalized<Re
sourceLoader>, protected WebURLLoaderClient { | 50 class ResourceLoader FINAL : public RefCountedWillBeGarbageCollectedFinalized<Re
sourceLoader>, protected WebURLLoaderClient { |
| 52 public: | 51 public: |
| 53 static PassRefPtrWillBeRawPtr<ResourceLoader> create(ResourceLoaderHost*, Re
source*, const ResourceRequest&, const ResourceLoaderOptions&); | 52 static PassRefPtrWillBeRawPtr<ResourceLoader> create(ResourceLoaderHost*, Re
source*, const ResourceRequest&, const ResourceLoaderOptions&); |
| 54 virtual ~ResourceLoader(); | 53 virtual ~ResourceLoader(); |
| 55 void trace(Visitor*); | 54 void trace(Visitor*); |
| 56 | 55 |
| 57 void start(); | 56 void start(); |
| 58 void changeToSynchronous(); | 57 void changeToSynchronous(); |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // Used for sanity checking to make sure we don't experience illegal state | 144 // Used for sanity checking to make sure we don't experience illegal state |
| 146 // transitions. | 145 // transitions. |
| 147 ConnectionState m_connectionState; | 146 ConnectionState m_connectionState; |
| 148 | 147 |
| 149 OwnPtr<RequestCountTracker> m_requestCountTracker; | 148 OwnPtr<RequestCountTracker> m_requestCountTracker; |
| 150 }; | 149 }; |
| 151 | 150 |
| 152 } | 151 } |
| 153 | 152 |
| 154 #endif | 153 #endif |
| OLD | NEW |