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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "core/fetch/ResourceLoaderOptions.h" | 34 #include "core/fetch/ResourceLoaderOptions.h" |
35 #include "platform/CrossThreadCopier.h" | 35 #include "platform/CrossThreadCopier.h" |
36 #include "wtf/Noncopyable.h" | 36 #include "wtf/Noncopyable.h" |
37 #include "wtf/PassRefPtr.h" | 37 #include "wtf/PassRefPtr.h" |
38 #include "wtf/RefCounted.h" | 38 #include "wtf/RefCounted.h" |
39 #include "wtf/RefPtr.h" | 39 #include "wtf/RefPtr.h" |
40 | 40 |
41 namespace blink { | 41 namespace blink { |
42 | 42 |
43 class ResourceError; | |
44 class ResourceRequest; | 43 class ResourceRequest; |
45 class ResourceResponse; | |
46 class ExecutionContext; | 44 class ExecutionContext; |
47 class ThreadableLoaderClient; | 45 class ThreadableLoaderClient; |
48 | 46 |
49 enum CrossOriginRequestPolicy { | 47 enum CrossOriginRequestPolicy { |
50 DenyCrossOriginRequests, | 48 DenyCrossOriginRequests, |
51 UseAccessControl, | 49 UseAccessControl, |
52 AllowCrossOriginRequests | 50 AllowCrossOriginRequests |
53 }; | 51 }; |
54 | 52 |
55 enum PreflightPolicy { | 53 enum PreflightPolicy { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 137 |
140 virtual ~ThreadableLoader() { } | 138 virtual ~ThreadableLoader() { } |
141 | 139 |
142 protected: | 140 protected: |
143 ThreadableLoader() { } | 141 ThreadableLoader() { } |
144 }; | 142 }; |
145 | 143 |
146 } // namespace blink | 144 } // namespace blink |
147 | 145 |
148 #endif // ThreadableLoader_h | 146 #endif // ThreadableLoader_h |
OLD | NEW |