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

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

Issue 2504883003: Loading: move *StyleSheetResource to core/loader/resource (Closed)
Patch Set: [rebase] Created 4 years 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 #include "core/inspector/InspectorResourceContentLoader.h" 5 #include "core/inspector/InspectorResourceContentLoader.h"
6 6
7 #include "core/css/CSSStyleSheet.h" 7 #include "core/css/CSSStyleSheet.h"
8 #include "core/css/StyleSheetContents.h" 8 #include "core/css/StyleSheetContents.h"
9 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
10 #include "core/fetch/CSSStyleSheetResource.h"
11 #include "core/fetch/FetchInitiatorTypeNames.h" 10 #include "core/fetch/FetchInitiatorTypeNames.h"
12 #include "core/fetch/RawResource.h" 11 #include "core/fetch/RawResource.h"
13 #include "core/fetch/Resource.h" 12 #include "core/fetch/Resource.h"
14 #include "core/fetch/ResourceFetcher.h" 13 #include "core/fetch/ResourceFetcher.h"
15 #include "core/fetch/StyleSheetResourceClient.h"
16 #include "core/frame/LocalFrame.h" 14 #include "core/frame/LocalFrame.h"
17 #include "core/inspector/InspectedFrames.h" 15 #include "core/inspector/InspectedFrames.h"
18 #include "core/inspector/InspectorCSSAgent.h" 16 #include "core/inspector/InspectorCSSAgent.h"
19 #include "core/inspector/InspectorPageAgent.h" 17 #include "core/inspector/InspectorPageAgent.h"
18 #include "core/loader/resource/CSSStyleSheetResource.h"
19 #include "core/loader/resource/StyleSheetResourceClient.h"
20 #include "core/page/Page.h" 20 #include "core/page/Page.h"
21 #include "public/platform/WebCachePolicy.h" 21 #include "public/platform/WebCachePolicy.h"
22 #include "public/platform/WebURLRequest.h" 22 #include "public/platform/WebURLRequest.h"
23 23
24 namespace blink { 24 namespace blink {
25 25
26 class InspectorResourceContentLoader::ResourceClient final 26 class InspectorResourceContentLoader::ResourceClient final
27 : public GarbageCollectedFinalized< 27 : public GarbageCollectedFinalized<
28 InspectorResourceContentLoader::ResourceClient>, 28 InspectorResourceContentLoader::ResourceClient>,
29 private RawResourceClient, 29 private RawResourceClient,
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 (*callback)(); 225 (*callback)();
226 } 226 }
227 } 227 }
228 228
229 void InspectorResourceContentLoader::resourceFinished(ResourceClient* client) { 229 void InspectorResourceContentLoader::resourceFinished(ResourceClient* client) {
230 m_pendingResourceClients.remove(client); 230 m_pendingResourceClients.remove(client);
231 checkDone(); 231 checkDone();
232 } 232 }
233 233
234 } // namespace blink 234 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698