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

Unified Diff: content/browser/fileapi/mock_url_request_delegate.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
« no previous file with comments | « content/browser/cache_storage/cache_storage_cache.cc ('k') | content/browser/gpu/shader_disk_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/fileapi/mock_url_request_delegate.cc
diff --git a/content/browser/fileapi/mock_url_request_delegate.cc b/content/browser/fileapi/mock_url_request_delegate.cc
index 40a975abd90652b30367f3cd4ccd91f2415fdc5f..455b4586d18e97bce519ed278d07ba67f7b738cb 100644
--- a/content/browser/fileapi/mock_url_request_delegate.cc
+++ b/content/browser/fileapi/mock_url_request_delegate.cc
@@ -4,7 +4,6 @@
#include "content/browser/fileapi/mock_url_request_delegate.h"
-#include "base/profiler/scoped_tracker.h"
#include "base/run_loop.h"
#include "net/base/io_buffer.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -23,11 +22,6 @@ MockURLRequestDelegate::~MockURLRequestDelegate() {
}
void MockURLRequestDelegate::OnResponseStarted(net::URLRequest* request) {
- // TODO(vadimt): Remove ScopedTracker below once crbug.com/422516 is fixed.
- tracked_objects::ScopedTracker tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION(
- "422516 MockURLRequestDelegate::OnResponseStarted"));
-
if (request->status().is_success()) {
EXPECT_TRUE(request->response_headers());
ReadSome(request);
@@ -38,11 +32,6 @@ void MockURLRequestDelegate::OnResponseStarted(net::URLRequest* request) {
void MockURLRequestDelegate::OnReadCompleted(net::URLRequest* request,
int bytes_read) {
- // TODO(vadimt): Remove ScopedTracker below once crbug.com/422516 is fixed.
- tracked_objects::ScopedTracker tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION(
- "422516 MockURLRequestDelegate::OnReadCompleted"));
-
if (bytes_read > 0)
ReceiveData(request, bytes_read);
else
« no previous file with comments | « content/browser/cache_storage/cache_storage_cache.cc ('k') | content/browser/gpu/shader_disk_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698