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

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

Issue 638553002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Nits Created 6 years, 2 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
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 blink { 13 namespace blink {
14 14
15 class Page; 15 class Page;
16 class Resource; 16 class Resource;
17 class VoidCallback; 17 class VoidCallback;
18 18
19 class InspectorResourceContentLoader FINAL : public NoBaseWillBeGarbageCollected Finalized<InspectorResourceContentLoader> { 19 class InspectorResourceContentLoader final : public NoBaseWillBeGarbageCollected Finalized<InspectorResourceContentLoader> {
20 WTF_MAKE_NONCOPYABLE(InspectorResourceContentLoader); 20 WTF_MAKE_NONCOPYABLE(InspectorResourceContentLoader);
21 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 21 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
22 public: 22 public:
23 explicit InspectorResourceContentLoader(Page*); 23 explicit InspectorResourceContentLoader(Page*);
24 void ensureResourcesContentLoaded(VoidCallback*); 24 void ensureResourcesContentLoaded(VoidCallback*);
25 ~InspectorResourceContentLoader(); 25 ~InspectorResourceContentLoader();
26 void trace(Visitor*); 26 void trace(Visitor*);
27 void dispose(); 27 void dispose();
28 bool hasFinished(); 28 bool hasFinished();
29 void stop(); 29 void stop();
(...skipping 12 matching lines...) Expand all
42 HashSet<ResourceClient*> m_pendingResourceClients; 42 HashSet<ResourceClient*> m_pendingResourceClients;
43 Vector<ResourcePtr<Resource> > m_resources; 43 Vector<ResourcePtr<Resource> > m_resources;
44 44
45 friend class ResourceClient; 45 friend class ResourceClient;
46 }; 46 };
47 47
48 } // namespace blink 48 } // namespace blink
49 49
50 50
51 #endif // !defined(InspectorResourceContentLoader_h) 51 #endif // !defined(InspectorResourceContentLoader_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/inspector/InspectorResourceContentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698