| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef InspectorResourceContentLoader_h | 5 #ifndef InspectorResourceContentLoader_h |
| 6 #define InspectorResourceContentLoader_h | 6 #define InspectorResourceContentLoader_h |
| 7 | 7 |
| 8 #include "core/fetch/ResourcePtr.h" | 8 #include "core/fetch/ResourcePtr.h" |
| 9 #include "wtf/HashSet.h" | 9 #include "wtf/HashSet.h" |
| 10 #include "wtf/Noncopyable.h" | 10 #include "wtf/Noncopyable.h" |
| 11 #include "wtf/Vector.h" | 11 #include "wtf/Vector.h" |
| 12 | 12 |
| 13 namespace WebCore { | 13 namespace WebCore { |
| 14 | 14 |
| 15 class CSSStyleSheetResource; | |
| 16 class Page; | 15 class Page; |
| 17 class Resource; | 16 class Resource; |
| 18 class VoidCallback; | 17 class VoidCallback; |
| 19 | 18 |
| 20 class InspectorResourceContentLoader FINAL { | 19 class InspectorResourceContentLoader FINAL { |
| 21 WTF_MAKE_NONCOPYABLE(InspectorResourceContentLoader); | 20 WTF_MAKE_NONCOPYABLE(InspectorResourceContentLoader); |
| 22 WTF_MAKE_FAST_ALLOCATED; | 21 WTF_MAKE_FAST_ALLOCATED; |
| 23 public: | 22 public: |
| 24 InspectorResourceContentLoader(Page*); | 23 InspectorResourceContentLoader(Page*); |
| 25 void addListener(PassOwnPtr<VoidCallback>); | 24 void addListener(PassOwnPtr<VoidCallback>); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 38 HashSet<ResourceClient*> m_pendingResourceClients; | 37 HashSet<ResourceClient*> m_pendingResourceClients; |
| 39 Vector<ResourcePtr<Resource> > m_resources; | 38 Vector<ResourcePtr<Resource> > m_resources; |
| 40 | 39 |
| 41 friend class ResourceClient; | 40 friend class ResourceClient; |
| 42 }; | 41 }; |
| 43 | 42 |
| 44 } // namespace WebCore | 43 } // namespace WebCore |
| 45 | 44 |
| 46 | 45 |
| 47 #endif // !defined(InspectorResourceContentLoader_h) | 46 #endif // !defined(InspectorResourceContentLoader_h) |
| OLD | NEW |