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

Side by Side Diff: Source/core/loader/ResourceLoader.cpp

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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
« no previous file with comments | « Source/core/loader/ResourceLoader.h ('k') | Source/core/loader/SubstituteData.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) 2006, 2007, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2010, 2011 Apple Inc. All rights reserved.
3 * (C) 2007 Graham Dennis (graham.dennis@gmail.com) 3 * (C) 2007 Graham Dennis (graham.dennis@gmail.com)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 514
515 if (!m_notifiedLoadComplete) { 515 if (!m_notifiedLoadComplete) {
516 m_notifiedLoadComplete = true; 516 m_notifiedLoadComplete = true;
517 if (m_options.sendLoadCallbacks == SendCallbacks) 517 if (m_options.sendLoadCallbacks == SendCallbacks)
518 frameLoader()->notifier()->didFailToLoad(this, error); 518 frameLoader()->notifier()->didFailToLoad(this, error);
519 } 519 }
520 520
521 releaseResources(); 521 releaseResources();
522 } 522 }
523 523
524 void ResourceLoader::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
525 {
526 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Loader);
527 info.addMember(m_handle, "handle");
528 info.addMember(m_frame, "frame");
529 info.addMember(m_documentLoader, "documentLoader");
530 info.addMember(m_request, "request");
531 info.addMember(m_originalRequest, "originalRequest");
532 info.addMember(m_deferredRequest, "deferredRequest");
533 info.addMember(m_options, "options");
534 info.addMember(m_resource, "resource");
535 info.addMember(m_documentLoader, "documentLoader");
536 info.addMember(m_requestCountTracker, "requestCountTracker");
537 } 524 }
538
539 }
OLDNEW
« no previous file with comments | « Source/core/loader/ResourceLoader.h ('k') | Source/core/loader/SubstituteData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698