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

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

Issue 1234793003: Oilpan: fix build after r198872. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « no previous file | Source/core/inspector/InspectorResourceContentLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/fetch/ResourcePtr.h" 9 #include "core/fetch/ResourcePtr.h"
10 #include "wtf/Functional.h" 10 #include "wtf/Functional.h"
(...skipping 11 matching lines...) Expand all
22 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(InspectorResourceContentLoader); 22 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(InspectorResourceContentLoader);
23 public: 23 public:
24 static PassOwnPtrWillBeRawPtr<InspectorResourceContentLoader> create(LocalFr ame* inspectedFrame) 24 static PassOwnPtrWillBeRawPtr<InspectorResourceContentLoader> create(LocalFr ame* inspectedFrame)
25 { 25 {
26 return adoptPtrWillBeNoop(new InspectorResourceContentLoader(inspectedFr ame)); 26 return adoptPtrWillBeNoop(new InspectorResourceContentLoader(inspectedFr ame));
27 } 27 }
28 ~InspectorResourceContentLoader(); 28 ~InspectorResourceContentLoader();
29 void dispose(); 29 void dispose();
30 DECLARE_TRACE(); 30 DECLARE_TRACE();
31 31
32 void ensureResourcesContentLoaded(PassOwnPtrWillBeRawPtr<Closure> callback); 32 void ensureResourcesContentLoaded(PassOwnPtr<Closure> callback);
33 void didCommitLoadForLocalFrame(LocalFrame*); 33 void didCommitLoadForLocalFrame(LocalFrame*);
34 34
35 private: 35 private:
36 class ResourceClient; 36 class ResourceClient;
37 37
38 explicit InspectorResourceContentLoader(LocalFrame*); 38 explicit InspectorResourceContentLoader(LocalFrame*);
39 void resourceFinished(ResourceClient*); 39 void resourceFinished(ResourceClient*);
40 void checkDone(); 40 void checkDone();
41 void start(); 41 void start();
42 void stop(); 42 void stop();
43 bool hasFinished(); 43 bool hasFinished();
44 44
45 WillBeHeapVector<OwnPtrWillBeMember<Closure>> m_callbacks; 45 Vector<OwnPtr<Closure>> m_callbacks;
46 bool m_allRequestsStarted; 46 bool m_allRequestsStarted;
47 bool m_started; 47 bool m_started;
48 RawPtrWillBeMember<LocalFrame> m_inspectedFrame; 48 RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
49 HashSet<ResourceClient*> m_pendingResourceClients; 49 HashSet<ResourceClient*> m_pendingResourceClients;
50 Vector<ResourcePtr<Resource> > m_resources; 50 Vector<ResourcePtr<Resource> > m_resources;
51 51
52 friend class ResourceClient; 52 friend class ResourceClient;
53 }; 53 };
54 54
55 } // namespace blink 55 } // namespace blink
56 56
57 57
58 #endif // !defined(InspectorResourceContentLoader_h) 58 #endif // !defined(InspectorResourceContentLoader_h)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorResourceContentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698