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

Side by Side Diff: third_party/WebKit/Source/core/fetch/ResourceFetcher.h

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (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 /* 1 /*
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org>
4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
5 rights reserved. 5 rights reserved.
6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ 6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
7 7
8 This library is free software; you can redistribute it and/or 8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public 9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either 10 License as published by the Free Software Foundation; either
(...skipping 30 matching lines...) Expand all
41 #include "wtf/HashMap.h" 41 #include "wtf/HashMap.h"
42 #include "wtf/HashSet.h" 42 #include "wtf/HashSet.h"
43 #include "wtf/ListHashSet.h" 43 #include "wtf/ListHashSet.h"
44 #include "wtf/text/StringHash.h" 44 #include "wtf/text/StringHash.h"
45 #include <memory> 45 #include <memory>
46 46
47 namespace blink { 47 namespace blink {
48 48
49 class ArchiveResource; 49 class ArchiveResource;
50 class DocumentResource; 50 class DocumentResource;
51 class ImageResource;
52 class MHTMLArchive; 51 class MHTMLArchive;
53 class KURL; 52 class KURL;
54 class ResourceTimingInfo; 53 class ResourceTimingInfo;
55 54
56 // The ResourceFetcher provides a per-context interface to the MemoryCache and 55 // The ResourceFetcher provides a per-context interface to the MemoryCache and
57 // enforces a bunch of security checks and rules for resource revalidation. Its 56 // enforces a bunch of security checks and rules for resource revalidation. Its
58 // lifetime is roughly per-DocumentLoader, in that it is generally created in 57 // lifetime is roughly per-DocumentLoader, in that it is generally created in
59 // the DocumentLoader constructor and loses its ability to generate network 58 // the DocumentLoader constructor and loses its ability to generate network
60 // requests when the DocumentLoader is destroyed. Documents also hold a pointer 59 // requests when the DocumentLoader is destroyed. Documents also hold a pointer
61 // to ResourceFetcher for their lifetime (and will create one if they are 60 // to ResourceFetcher for their lifetime (and will create one if they are
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 } 290 }
292 291
293 private: 292 private:
294 Member<ResourceFetcher> m_loader; 293 Member<ResourceFetcher> m_loader;
295 bool m_previousState; 294 bool m_previousState;
296 }; 295 };
297 296
298 } // namespace blink 297 } // namespace blink
299 298
300 #endif // ResourceFetcher_h 299 #endif // ResourceFetcher_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698