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

Side by Side Diff: public/platform/WebURLLoadTiming.h

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, 6 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/platform/exported/WebURLLoadTiming.cpp ('k') | no next file » | 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 BLINK_PLATFORM_EXPORT double connectStart() const; 74 BLINK_PLATFORM_EXPORT double connectStart() const;
75 BLINK_PLATFORM_EXPORT void setConnectStart(double); 75 BLINK_PLATFORM_EXPORT void setConnectStart(double);
76 76
77 BLINK_PLATFORM_EXPORT double connectEnd() const; 77 BLINK_PLATFORM_EXPORT double connectEnd() const;
78 BLINK_PLATFORM_EXPORT void setConnectEnd(double); 78 BLINK_PLATFORM_EXPORT void setConnectEnd(double);
79 79
80 BLINK_PLATFORM_EXPORT double workerStart() const; 80 BLINK_PLATFORM_EXPORT double workerStart() const;
81 BLINK_PLATFORM_EXPORT void setWorkerStart(double); 81 BLINK_PLATFORM_EXPORT void setWorkerStart(double);
82 82
83 // TODO(ksakamoto): Deprecated, remove them. crbug.com/465640
84 BLINK_PLATFORM_EXPORT double serviceWorkerFetchStart() const;
85 BLINK_PLATFORM_EXPORT void setServiceWorkerFetchStart(double);
86
87 // TODO(ksakamoto): Deprecated, remove them. crbug.com/465640
88 BLINK_PLATFORM_EXPORT double serviceWorkerFetchReady() const;
89 BLINK_PLATFORM_EXPORT void setServiceWorkerFetchReady(double);
90
91 // TODO(ksakamoto): Deprecated, remove them. crbug.com/465640
92 BLINK_PLATFORM_EXPORT double serviceWorkerFetchEnd() const;
93 BLINK_PLATFORM_EXPORT void setServiceWorkerFetchEnd(double);
94
95 BLINK_PLATFORM_EXPORT double sendStart() const; 83 BLINK_PLATFORM_EXPORT double sendStart() const;
96 BLINK_PLATFORM_EXPORT void setSendStart(double); 84 BLINK_PLATFORM_EXPORT void setSendStart(double);
97 85
98 BLINK_PLATFORM_EXPORT double sendEnd() const; 86 BLINK_PLATFORM_EXPORT double sendEnd() const;
99 BLINK_PLATFORM_EXPORT void setSendEnd(double); 87 BLINK_PLATFORM_EXPORT void setSendEnd(double);
100 88
101 BLINK_PLATFORM_EXPORT double receiveHeadersEnd() const; 89 BLINK_PLATFORM_EXPORT double receiveHeadersEnd() const;
102 BLINK_PLATFORM_EXPORT void setReceiveHeadersEnd(double); 90 BLINK_PLATFORM_EXPORT void setReceiveHeadersEnd(double);
103 91
104 BLINK_PLATFORM_EXPORT double sslStart() const; 92 BLINK_PLATFORM_EXPORT double sslStart() const;
105 BLINK_PLATFORM_EXPORT void setSSLStart(double); 93 BLINK_PLATFORM_EXPORT void setSSLStart(double);
106 94
107 BLINK_PLATFORM_EXPORT double sslEnd() const; 95 BLINK_PLATFORM_EXPORT double sslEnd() const;
108 BLINK_PLATFORM_EXPORT void setSSLEnd(double); 96 BLINK_PLATFORM_EXPORT void setSSLEnd(double);
109 97
110 #if INSIDE_BLINK 98 #if INSIDE_BLINK
111 BLINK_PLATFORM_EXPORT WebURLLoadTiming(const WTF::PassRefPtr<ResourceLoadTim ing>&); 99 BLINK_PLATFORM_EXPORT WebURLLoadTiming(const WTF::PassRefPtr<ResourceLoadTim ing>&);
112 BLINK_PLATFORM_EXPORT WebURLLoadTiming& operator=(const WTF::PassRefPtr<Reso urceLoadTiming>&); 100 BLINK_PLATFORM_EXPORT WebURLLoadTiming& operator=(const WTF::PassRefPtr<Reso urceLoadTiming>&);
113 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<ResourceLoadTiming>() const; 101 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<ResourceLoadTiming>() const;
114 #endif 102 #endif
115 103
116 private: 104 private:
117 WebPrivatePtr<ResourceLoadTiming> m_private; 105 WebPrivatePtr<ResourceLoadTiming> m_private;
118 }; 106 };
119 107
120 } // namespace blink 108 } // namespace blink
121 109
122 #endif 110 #endif
OLDNEW
« no previous file with comments | « Source/platform/exported/WebURLLoadTiming.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698