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

Side by Side Diff: third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 ImageResourceContent_h 5 #ifndef ImageResourceContent_h
6 #define ImageResourceContent_h 6 #define ImageResourceContent_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/fetch/ResourceStatus.h"
10 #include "platform/geometry/IntRect.h" 9 #include "platform/geometry/IntRect.h"
11 #include "platform/geometry/IntSizeHash.h" 10 #include "platform/geometry/IntSizeHash.h"
12 #include "platform/geometry/LayoutSize.h" 11 #include "platform/geometry/LayoutSize.h"
13 #include "platform/graphics/Image.h" 12 #include "platform/graphics/Image.h"
14 #include "platform/graphics/ImageObserver.h" 13 #include "platform/graphics/ImageObserver.h"
15 #include "platform/graphics/ImageOrientation.h" 14 #include "platform/graphics/ImageOrientation.h"
15 #include "platform/loader/fetch/ResourceStatus.h"
16 #include "platform/network/ResourceLoadPriority.h" 16 #include "platform/network/ResourceLoadPriority.h"
17 #include "platform/weborigin/KURL.h" 17 #include "platform/weborigin/KURL.h"
18 #include "wtf/HashCountedSet.h" 18 #include "wtf/HashCountedSet.h"
19 #include "wtf/HashMap.h" 19 #include "wtf/HashMap.h"
20 #include <memory> 20 #include <memory>
21 21
22 namespace blink { 22 namespace blink {
23 23
24 class FetchRequest; 24 class FetchRequest;
25 class ImageResourceInfo; 25 class ImageResourceInfo;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 Image::SizeAvailability m_sizeAvailable = Image::SizeUnavailable; 179 Image::SizeAvailability m_sizeAvailable = Image::SizeUnavailable;
180 180
181 // Indicates if this resource's encoded image data can be purged and refetched 181 // Indicates if this resource's encoded image data can be purged and refetched
182 // from disk cache to save memory usage. See crbug/664437. 182 // from disk cache to save memory usage. See crbug/664437.
183 bool m_isRefetchableDataFromDiskCache; 183 bool m_isRefetchableDataFromDiskCache;
184 }; 184 };
185 185
186 } // namespace blink 186 } // namespace blink
187 187
188 #endif 188 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698