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

Side by Side Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 2654663004: [Not for review] record detailed time breakdown of SW related requests.
Patch Set: add stream uma Created 3 years, 10 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_context_request_handler.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #include "content/browser/loader/resource_dispatcher_host_impl.h" 7 #include "content/browser/loader/resource_dispatcher_host_impl.h"
8 8
9 #include <stddef.h> 9 #include <stddef.h>
10 10
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 // ServiceWorker for synchronous loads to avoid renderer deadlocks. 1541 // ServiceWorker for synchronous loads to avoid renderer deadlocks.
1542 const SkipServiceWorker should_skip_service_worker = 1542 const SkipServiceWorker should_skip_service_worker =
1543 is_sync_load ? SkipServiceWorker::ALL : request_data.skip_service_worker; 1543 is_sync_load ? SkipServiceWorker::ALL : request_data.skip_service_worker;
1544 ServiceWorkerRequestHandler::InitializeHandler( 1544 ServiceWorkerRequestHandler::InitializeHandler(
1545 new_request.get(), requester_info->service_worker_context(), blob_context, 1545 new_request.get(), requester_info->service_worker_context(), blob_context,
1546 child_id, request_data.service_worker_provider_id, 1546 child_id, request_data.service_worker_provider_id,
1547 should_skip_service_worker != SkipServiceWorker::NONE, 1547 should_skip_service_worker != SkipServiceWorker::NONE,
1548 request_data.fetch_request_mode, request_data.fetch_credentials_mode, 1548 request_data.fetch_request_mode, request_data.fetch_credentials_mode,
1549 request_data.fetch_redirect_mode, request_data.resource_type, 1549 request_data.fetch_redirect_mode, request_data.resource_type,
1550 request_data.fetch_request_context_type, request_data.fetch_frame_type, 1550 request_data.fetch_request_context_type, request_data.fetch_frame_type,
1551 request_data.request_body); 1551 request_data.request_body, request_data.request_start);
1552 1552
1553 ForeignFetchRequestHandler::InitializeHandler( 1553 ForeignFetchRequestHandler::InitializeHandler(
1554 new_request.get(), requester_info->service_worker_context(), blob_context, 1554 new_request.get(), requester_info->service_worker_context(), blob_context,
1555 child_id, request_data.service_worker_provider_id, 1555 child_id, request_data.service_worker_provider_id,
1556 should_skip_service_worker, request_data.fetch_request_mode, 1556 should_skip_service_worker, request_data.fetch_request_mode,
1557 request_data.fetch_credentials_mode, request_data.fetch_redirect_mode, 1557 request_data.fetch_credentials_mode, request_data.fetch_redirect_mode,
1558 request_data.resource_type, request_data.fetch_request_context_type, 1558 request_data.resource_type, request_data.fetch_request_context_type,
1559 request_data.fetch_frame_type, request_data.request_body, 1559 request_data.fetch_frame_type, request_data.request_body,
1560 request_data.initiated_in_secure_context); 1560 request_data.initiated_in_secure_context);
1561 1561
(...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after
2796 &throttles); 2796 &throttles);
2797 if (!throttles.empty()) { 2797 if (!throttles.empty()) {
2798 handler.reset(new ThrottlingResourceHandler(std::move(handler), request, 2798 handler.reset(new ThrottlingResourceHandler(std::move(handler), request,
2799 std::move(throttles))); 2799 std::move(throttles)));
2800 } 2800 }
2801 } 2801 }
2802 return handler; 2802 return handler;
2803 } 2803 }
2804 2804
2805 } // namespace content 2805 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_context_request_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698