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

Side by Side Diff: Source/core/fetch/Resource.cpp

Issue 414423003: Oilpan: Prepare to move ResourceLoader and ResourceLoaderSet to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: FINAL Created 6 years, 4 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 /* 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) 2002 Waldo Bastian (bastian@kde.org) 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org)
5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 6 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 cachedResourceLeakCounter.decrement(); 150 cachedResourceLeakCounter.decrement();
151 #endif 151 #endif
152 } 152 }
153 153
154 void Resource::dispose() 154 void Resource::dispose()
155 { 155 {
156 } 156 }
157 157
158 void Resource::trace(Visitor* visitor) 158 void Resource::trace(Visitor* visitor)
159 { 159 {
160 visitor->trace(m_loader);
160 visitor->trace(m_resourceToRevalidate); 161 visitor->trace(m_resourceToRevalidate);
161 visitor->trace(m_proxyResource); 162 visitor->trace(m_proxyResource);
162 } 163 }
163 164
164 void Resource::failBeforeStarting() 165 void Resource::failBeforeStarting()
165 { 166 {
166 WTF_LOG(ResourceLoading, "Cannot start loading '%s'", url().string().latin1( ).data()); 167 WTF_LOG(ResourceLoading, "Cannot start loading '%s'", url().string().latin1( ).data());
167 error(Resource::LoadError); 168 error(Resource::LoadError);
168 } 169 }
169 170
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 return "ImportResource"; 1006 return "ImportResource";
1006 case Resource::Media: 1007 case Resource::Media:
1007 return "Media"; 1008 return "Media";
1008 } 1009 }
1009 ASSERT_NOT_REACHED(); 1010 ASSERT_NOT_REACHED();
1010 return "Unknown"; 1011 return "Unknown";
1011 } 1012 }
1012 #endif // !LOG_DISABLED 1013 #endif // !LOG_DISABLED
1013 1014
1014 } 1015 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698