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

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

Issue 1151263003: Refactoring timing info for ServiceWorker controlled requests [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | public/platform/WebURLLoadTiming.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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 double WebURLLoadTiming::workerStart() const 124 double WebURLLoadTiming::workerStart() const
125 { 125 {
126 return m_private->workerStart(); 126 return m_private->workerStart();
127 } 127 }
128 128
129 void WebURLLoadTiming::setWorkerStart(double start) 129 void WebURLLoadTiming::setWorkerStart(double start)
130 { 130 {
131 m_private->setWorkerStart(start); 131 m_private->setWorkerStart(start);
132 } 132 }
133 133
134 double WebURLLoadTiming::serviceWorkerFetchStart() const
135 {
136 return m_private->workerStart();
137 }
138
139 void WebURLLoadTiming::setServiceWorkerFetchStart(double start)
140 {
141 m_private->setWorkerStart(start);
142 }
143
144 double WebURLLoadTiming::serviceWorkerFetchReady() const
145 {
146 return m_private->sendStart();
147 }
148
149 void WebURLLoadTiming::setServiceWorkerFetchReady(double time)
150 {
151 }
152
153 double WebURLLoadTiming::serviceWorkerFetchEnd() const
154 {
155 return m_private->sendEnd();
156 }
157
158 void WebURLLoadTiming::setServiceWorkerFetchEnd(double end)
159 {
160 }
161
162 double WebURLLoadTiming::sendStart() const 134 double WebURLLoadTiming::sendStart() const
163 { 135 {
164 return m_private->sendStart(); 136 return m_private->sendStart();
165 } 137 }
166 138
167 void WebURLLoadTiming::setSendStart(double start) 139 void WebURLLoadTiming::setSendStart(double start)
168 { 140 {
169 m_private->setSendStart(start); 141 m_private->setSendStart(start);
170 } 142 }
171 143
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 m_private = value; 191 m_private = value;
220 return *this; 192 return *this;
221 } 193 }
222 194
223 WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>() const 195 WebURLLoadTiming::operator PassRefPtr<ResourceLoadTiming>() const
224 { 196 {
225 return m_private.get(); 197 return m_private.get();
226 } 198 }
227 199
228 } // namespace blink 200 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | public/platform/WebURLLoadTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698