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

Side by Side Diff: webkit/glue/resource_loader_bridge.cc

Issue 7602023: Use a monotonic clock (TimeTicks) to report network times to WebCore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "webkit/glue/resource_loader_bridge.h" 5 #include "webkit/glue/resource_loader_bridge.h"
6 6
7 #include "webkit/appcache/appcache_interfaces.h" 7 #include "webkit/appcache/appcache_interfaces.h"
8 #include "net/http/http_response_headers.h" 8 #include "net/http/http_response_headers.h"
9 9
10 namespace webkit_glue { 10 namespace webkit_glue {
11 11
12 ResourceLoadTimingInfo::ResourceLoadTimingInfo() 12 ResourceLoadTimingInfo::ResourceLoadTimingInfo()
13 : proxy_start(-1), 13 : base_ticks(0),
14 proxy_start(-1),
14 proxy_end(-1), 15 proxy_end(-1),
15 dns_start(-1), 16 dns_start(-1),
16 dns_end(-1), 17 dns_end(-1),
17 connect_start(-1), 18 connect_start(-1),
18 connect_end(-1), 19 connect_end(-1),
19 ssl_start(-1), 20 ssl_start(-1),
20 ssl_end(-1), 21 ssl_end(-1),
21 send_start(0), 22 send_start(0),
22 send_end(0), 23 send_end(0),
23 receive_headers_start(0), 24 receive_headers_start(0),
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { 69 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {
69 } 70 }
70 71
71 ResourceLoaderBridge::ResourceLoaderBridge() { 72 ResourceLoaderBridge::ResourceLoaderBridge() {
72 } 73 }
73 74
74 ResourceLoaderBridge::~ResourceLoaderBridge() { 75 ResourceLoaderBridge::~ResourceLoaderBridge() {
75 } 76 }
76 77
77 } // namespace webkit_glue 78 } // namespace webkit_glue
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698