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

Side by Side Diff: Source/core/loader/cache/CachedRawResource.cpp

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 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
« no previous file with comments | « Source/core/loader/cache/CachedImage.h ('k') | Source/core/loader/cache/CachedResource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All Rights Reserved. 2 * Copyright (C) 2011 Google Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/loader/cache/CachedRawResource.h" 27 #include "core/loader/cache/CachedRawResource.h"
28 28
29 #include "core/dom/WebCoreMemoryInstrumentation.h" 29 #include "core/dom/WebCoreMemoryInstrumentation.h"
30 #include "core/loader/ResourceLoader.h" 30 #include "core/loader/ResourceLoader.h"
31 #include "core/loader/cache/CachedResourceClient.h" 31 #include "core/loader/cache/CachedResourceClient.h"
32 #include "core/loader/cache/CachedResourceClientWalker.h" 32 #include "core/loader/cache/CachedResourceClientWalker.h"
33 #include "core/loader/cache/CachedResourceLoader.h" 33 #include "core/loader/cache/CachedResourceLoader.h"
34 #include "core/platform/SharedBuffer.h" 34 #include "core/platform/SharedBuffer.h"
35 #include <wtf/PassRefPtr.h>
36 35
37 namespace WebCore { 36 namespace WebCore {
38 37
39 CachedRawResource::CachedRawResource(const ResourceRequest& resourceRequest, Typ e type) 38 CachedRawResource::CachedRawResource(const ResourceRequest& resourceRequest, Typ e type)
40 : CachedResource(resourceRequest, type) 39 : CachedResource(resourceRequest, type)
41 { 40 {
42 } 41 }
43 42
44 void CachedRawResource::appendData(const char* data, int length) 43 void CachedRawResource::appendData(const char* data, int length)
45 { 44 {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 } 195 }
197 196
198 void CachedRawResource::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) co nst 197 void CachedRawResource::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) co nst
199 { 198 {
200 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResou rceRaw); 199 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResou rceRaw);
201 CachedResource::reportMemoryUsage(memoryObjectInfo); 200 CachedResource::reportMemoryUsage(memoryObjectInfo);
202 } 201 }
203 202
204 203
205 } // namespace WebCore 204 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/loader/cache/CachedImage.h ('k') | Source/core/loader/cache/CachedResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698