| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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/FetchContext.h" | 34 #include "core/fetch/FetchContext.h" |
| 35 #include "platform/network/ResourceRequest.h" | 35 #include "platform/network/ResourceRequest.h" |
| 36 #include "wtf/PassOwnPtr.h" | 36 #include "wtf/PassOwnPtr.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class Document; | 40 class Document; |
| 41 class DocumentLoader; | 41 class DocumentLoader; |
| 42 class LocalFrame; | 42 class LocalFrame; |
| 43 class Page; | |
| 44 class ResourceError; | 43 class ResourceError; |
| 45 class ResourceLoader; | 44 class ResourceLoader; |
| 46 class ResourceResponse; | 45 class ResourceResponse; |
| 47 class ResourceRequest; | 46 class ResourceRequest; |
| 48 | 47 |
| 49 class FrameFetchContext FINAL : public FetchContext { | 48 class FrameFetchContext FINAL : public FetchContext { |
| 50 public: | 49 public: |
| 51 static PassOwnPtr<FrameFetchContext> create(LocalFrame* frame) { return adop
tPtr(new FrameFetchContext(frame)); } | 50 static PassOwnPtr<FrameFetchContext> create(LocalFrame* frame) { return adop
tPtr(new FrameFetchContext(frame)); } |
| 52 | 51 |
| 53 virtual void reportLocalLoadFailed(const KURL&) OVERRIDE; | 52 virtual void reportLocalLoadFailed(const KURL&) OVERRIDE; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 67 private: | 66 private: |
| 68 explicit FrameFetchContext(LocalFrame*); | 67 explicit FrameFetchContext(LocalFrame*); |
| 69 inline DocumentLoader* ensureLoader(DocumentLoader*); | 68 inline DocumentLoader* ensureLoader(DocumentLoader*); |
| 70 | 69 |
| 71 LocalFrame* m_frame; | 70 LocalFrame* m_frame; |
| 72 }; | 71 }; |
| 73 | 72 |
| 74 } | 73 } |
| 75 | 74 |
| 76 #endif | 75 #endif |
| OLD | NEW |