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

Side by Side Diff: content/browser/loader/async_resource_handler.h

Issue 555913002: Measure browser->render->browser hop time in UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/loader/async_resource_handler.cc » ('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 #ifndef CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/time/time.h"
11 #include "content/browser/loader/resource_handler.h" 12 #include "content/browser/loader/resource_handler.h"
12 #include "content/browser/loader/resource_message_delegate.h" 13 #include "content/browser/loader/resource_message_delegate.h"
13 #include "url/gurl.h" 14 #include "url/gurl.h"
14 15
15 namespace net { 16 namespace net {
16 class URLRequest; 17 class URLRequest;
17 } 18 }
18 19
19 namespace content { 20 namespace content {
20 class ResourceBuffer; 21 class ResourceBuffer;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 int allocation_size_; 72 int allocation_size_;
72 73
73 bool did_defer_; 74 bool did_defer_;
74 75
75 bool has_checked_for_sufficient_resources_; 76 bool has_checked_for_sufficient_resources_;
76 bool sent_received_response_msg_; 77 bool sent_received_response_msg_;
77 bool sent_first_data_msg_; 78 bool sent_first_data_msg_;
78 79
79 int64_t reported_transfer_size_; 80 int64_t reported_transfer_size_;
80 81
82 base::TimeTicks redirect_start_time_;
83
81 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler); 84 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler);
82 }; 85 };
83 86
84 } // namespace content 87 } // namespace content
85 88
86 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ 89 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/loader/async_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698