Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Side by Side Diff: Source/core/inspector/InspectorResourceContentLoader.h

Issue 337783003: DevTools: Preload HTML documents content before fetching resource content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 ensureResourcesContentLoaded(PassOwnPtr<VoidCallback>); 24 void ensureResourcesContentLoaded(PassOwnPtr<VoidCallback>);
(...skipping 15 matching lines...) Expand all
41 HashSet<ResourceClient*> m_pendingResourceClients; 40 HashSet<ResourceClient*> m_pendingResourceClients;
42 Vector<ResourcePtr<Resource> > m_resources; 41 Vector<ResourcePtr<Resource> > m_resources;
43 42
44 friend class ResourceClient; 43 friend class ResourceClient;
45 }; 44 };
46 45
47 } // namespace WebCore 46 } // namespace WebCore
48 47
49 48
50 #endif // !defined(InspectorResourceContentLoader_h) 49 #endif // !defined(InspectorResourceContentLoader_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/inspector/InspectorResourceContentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698