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

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

Issue 1167583003: Move Resource subclasses out of fetch/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 #include "config.h" 5 #include "config.h"
6 #include "core/inspector/InspectorResourceContentLoader.h" 6 #include "core/inspector/InspectorResourceContentLoader.h"
7 7
8 #include "core/css/CSSStyleSheet.h" 8 #include "core/css/CSSStyleSheet.h"
9 #include "core/css/CSSStyleSheetResource.h"
9 #include "core/css/StyleSheetContents.h" 10 #include "core/css/StyleSheetContents.h"
10 #include "core/dom/Document.h" 11 #include "core/dom/Document.h"
11 #include "core/fetch/CSSStyleSheetResource.h" 12 #include "core/dom/StyleSheetResourceClient.h"
12 #include "core/fetch/FetchInitiatorTypeNames.h" 13 #include "core/fetch/FetchInitiatorTypeNames.h"
13 #include "core/fetch/RawResource.h" 14 #include "core/fetch/RawResource.h"
14 #include "core/fetch/Resource.h" 15 #include "core/fetch/Resource.h"
15 #include "core/fetch/ResourceFetcher.h" 16 #include "core/fetch/ResourceFetcher.h"
16 #include "core/fetch/ResourcePtr.h" 17 #include "core/fetch/ResourcePtr.h"
17 #include "core/fetch/StyleSheetResourceClient.h"
18 #include "core/frame/LocalFrame.h" 18 #include "core/frame/LocalFrame.h"
19 #include "core/html/VoidCallback.h" 19 #include "core/html/VoidCallback.h"
20 #include "core/inspector/InspectorCSSAgent.h" 20 #include "core/inspector/InspectorCSSAgent.h"
21 #include "core/inspector/InspectorPageAgent.h" 21 #include "core/inspector/InspectorPageAgent.h"
22 #include "core/page/Page.h" 22 #include "core/page/Page.h"
23 #include "public/platform/WebURLRequest.h" 23 #include "public/platform/WebURLRequest.h"
24 24
25 namespace blink { 25 namespace blink {
26 26
27 class InspectorResourceContentLoader::ResourceClient final : private RawResource Client, private StyleSheetResourceClient { 27 class InspectorResourceContentLoader::ResourceClient final : private RawResource Client, private StyleSheetResourceClient {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 callback->handleEvent(); 195 callback->handleEvent();
196 } 196 }
197 197
198 void InspectorResourceContentLoader::resourceFinished(ResourceClient* client) 198 void InspectorResourceContentLoader::resourceFinished(ResourceClient* client)
199 { 199 {
200 m_pendingResourceClients.remove(client); 200 m_pendingResourceClients.remove(client);
201 checkDone(); 201 checkDone();
202 } 202 }
203 203
204 } // namespace blink 204 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorPageAgent.cpp ('k') | Source/core/inspector/InspectorTraceEvents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698