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

Side by Side Diff: Source/platform/exported/WebURLLoadTiming.cpp

Issue 515583005: Add ServiceWorker timing information on the popup panel in DevTools's Network tab (1/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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 | « Source/devtools/protocol.json ('k') | Source/platform/network/ResourceLoadTiming.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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 double WebURLLoadTiming::connectEnd() const 114 double WebURLLoadTiming::connectEnd() const
115 { 115 {
116 return m_private->connectEnd; 116 return m_private->connectEnd;
117 } 117 }
118 118
119 void WebURLLoadTiming::setConnectEnd(double end) 119 void WebURLLoadTiming::setConnectEnd(double end)
120 { 120 {
121 m_private->connectEnd = end; 121 m_private->connectEnd = end;
122 } 122 }
123 123
124 double WebURLLoadTiming::serviceWorkerFetchStart() const
125 {
126 return m_private->serviceWorkerFetchStart;
127 }
128
129 void WebURLLoadTiming::setServiceWorkerFetchStart(double start)
130 {
131 m_private->serviceWorkerFetchStart = start;
132 }
133
134 double WebURLLoadTiming::serviceWorkerFetchReady() const
135 {
136 return m_private->serviceWorkerFetchReady;
137 }
138
139 void WebURLLoadTiming::setServiceWorkerFetchReady(double time)
140 {
141 m_private->serviceWorkerFetchReady = time;
142 }
143
144 double WebURLLoadTiming::serviceWorkerFetchEnd() const
145 {
146 return m_private->serviceWorkerFetchEnd;
147 }
148
149 void WebURLLoadTiming::setServiceWorkerFetchEnd(double end)
150 {
151 m_private->serviceWorkerFetchEnd = end;
152 }
153
124 double WebURLLoadTiming::sendStart() const 154 double WebURLLoadTiming::sendStart() const
125 { 155 {
126 return m_private->sendStart; 156 return m_private->sendStart;
127 } 157 }
128 158
129 void WebURLLoadTiming::setSendStart(double start) 159 void WebURLLoadTiming::setSendStart(double start)
130 { 160 {
131 m_private->sendStart = start; 161 m_private->sendStart = start;
132 } 162 }
133 163
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 m_private = value; 211 m_private = value;
182 return *this; 212 return *this;
183 } 213 }
184 214
185 WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>() const 215 WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>() const
186 { 216 {
187 return m_private.get(); 217 return m_private.get();
188 } 218 }
189 219
190 } // namespace blink 220 } // namespace blink
OLDNEW
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/platform/network/ResourceLoadTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698