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

Unified Diff: Source/core/inspector/NetworkResourcesData.cpp

Issue 240013007: Remove some dead code from inspector/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/NetworkResourcesData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/NetworkResourcesData.cpp
diff --git a/Source/core/inspector/NetworkResourcesData.cpp b/Source/core/inspector/NetworkResourcesData.cpp
index aef2d8db3b4f4c1af4010858a986532e7664aef8..3659bc05cc6fef169e95589637b7daf2261a14a5 100644
--- a/Source/core/inspector/NetworkResourcesData.cpp
+++ b/Source/core/inspector/NetworkResourcesData.cpp
@@ -260,15 +260,6 @@ void NetworkResourcesData::addResource(const String& requestId, Resource* cached
resourceData->setResource(cachedResource);
}
-void NetworkResourcesData::addResourceSharedBuffer(const String& requestId, PassRefPtr<SharedBuffer> buffer, const String& textEncodingName)
-{
- ResourceData* resourceData = resourceDataForRequestId(requestId);
- if (!resourceData)
- return;
- resourceData->setBuffer(buffer);
- resourceData->setTextEncodingName(textEncodingName);
-}
-
NetworkResourcesData::ResourceData const* NetworkResourcesData::data(const String& requestId)
{
return resourceDataForRequestId(requestId);
@@ -302,18 +293,6 @@ void NetworkResourcesData::setXHRReplayData(const String& requestId, XHRReplayDa
resourceData->setXHRReplayData(xhrReplayData);
}
-void NetworkResourcesData::reuseXHRReplayData(const String& requestId, const String& reusedRequestId)
-{
- ResourceData* reusedResourceData = resourceDataForRequestId(reusedRequestId);
- ResourceData* resourceData = resourceDataForRequestId(requestId);
- if (!reusedResourceData || !resourceData) {
- m_reusedXHRReplayDataRequestIds.set(requestId, reusedRequestId);
- return;
- }
-
- resourceData->setXHRReplayData(reusedResourceData->xhrReplayData());
-}
-
Vector<NetworkResourcesData::ResourceData*> NetworkResourcesData::resources()
{
Vector<ResourceData*> result;
« no previous file with comments | « Source/core/inspector/NetworkResourcesData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698