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

Unified Diff: content/browser/cache_storage/cache_storage_cache.cc

Issue 1062413002: Remove unnecessary instrumentation for several jank bugs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fixes Created 5 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
Index: content/browser/cache_storage/cache_storage_cache.cc
diff --git a/content/browser/cache_storage/cache_storage_cache.cc b/content/browser/cache_storage/cache_storage_cache.cc
index c1dd98bf0e60803d598c0162a5258af03787fe17..4dae870722156f6d7a23e4cc2f9ae1911c089c62 100644
--- a/content/browser/cache_storage/cache_storage_cache.cc
+++ b/content/browser/cache_storage/cache_storage_cache.cc
@@ -138,11 +138,8 @@ void ReadMetadata(disk_cache::Entry* entry, const MetadataCallback& callback) {
net::CompletionCallback read_header_callback =
base::Bind(ReadMetadataDidReadMetadata, entry, callback, buffer);
- int read_rv = entry->ReadData(
- INDEX_HEADERS, 0, buffer.get(), buffer->size(),
- tracked_objects::ScopedTracker::TrackCallback(
- FROM_HERE_WITH_EXPLICIT_FUNCTION("422516 ReadMetadata"),
- read_header_callback));
+ int read_rv = entry->ReadData(INDEX_HEADERS, 0, buffer.get(), buffer->size(),
+ read_header_callback);
if (read_rv != net::ERR_IO_PENDING)
read_header_callback.Run(read_rv);
@@ -717,11 +714,6 @@ void CacheStorageCache::MatchDidReadMetadata(
void CacheStorageCache::MatchDidReadResponseBodyData(
scoped_ptr<MatchContext> match_context,
int rv) {
- // TODO(vadimt): Remove ScopedTracker below once crbug.com/422516 is fixed.
- tracked_objects::ScopedTracker tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION(
- "422516 CacheStorageCache::MatchDidReadResponseBodyData"));
-
if (rv < 0) {
match_context->original_callback.Run(CacheStorageCache::ERROR_TYPE_STORAGE,
scoped_ptr<ServiceWorkerResponse>(),
« no previous file with comments | « content/browser/appcache/appcache_update_job.cc ('k') | content/browser/fileapi/mock_url_request_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698