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

Unified Diff: WebCore/inspector/InspectorController.cpp

Issue 3441018: Merge 67709 - 2010-09-17 Pavel Feldman <pfeldman@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/inspector/InspectorController.h ('k') | WebCore/inspector/InspectorResource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/inspector/InspectorController.cpp
===================================================================
--- WebCore/inspector/InspectorController.cpp (revision 67840)
+++ WebCore/inspector/InspectorController.cpp (working copy)
@@ -1003,6 +1003,15 @@
resource->updateScriptObject(m_frontend.get());
}
+void InspectorController::markResourceAsCached(unsigned long identifier)
+{
+ if (!enabled())
+ return;
+
+ if (RefPtr<InspectorResource> resource = getTrackedResource(identifier))
+ resource->markAsCached();
+}
+
void InspectorController::didReceiveResponse(unsigned long identifier, const ResourceResponse& response)
{
if (!enabled())
« no previous file with comments | « WebCore/inspector/InspectorController.h ('k') | WebCore/inspector/InspectorResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698