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

Side by Side Diff: third_party/WebKit/public/web/WebDataSource.h

Issue 1425823002: (DEPRECATED) Send navigation_start to browser process in DidStartProvisionalLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Name change + blink layering Created 5 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 virtual ExtraData* extraData() const = 0; 96 virtual ExtraData* extraData() const = 0;
97 virtual void setExtraData(ExtraData*) = 0; 97 virtual void setExtraData(ExtraData*) = 0;
98 98
99 // Sets the navigation start time for this datasource. Ordinarily, 99 // Sets the navigation start time for this datasource. Ordinarily,
100 // navigation start is determined in WebCore. But, in some situations, 100 // navigation start is determined in WebCore. But, in some situations,
101 // the embedder might have a better value and can override it here. This 101 // the embedder might have a better value and can override it here. This
102 // should be called before WebFrameClient::didCommitProvisionalLoad. 102 // should be called before WebFrameClient::didCommitProvisionalLoad.
103 // Calling it later may confuse users, because JavaScript may have run and 103 // Calling it later may confuse users, because JavaScript may have run and
104 // the user may have already recorded the original value. 104 // the user may have already recorded the original value.
105 virtual void setNavigationStartTime(double) = 0; 105 virtual void setNavigationStartTime(double) = 0;
106 // Gets the navigation start time. Useful if the embedder wants the
107 // navigation start time in the same format they set it in, rather than the
108 // wall time that WebPerformance reports.
109 virtual double getNavigationStartTime() = 0;
clamy 2015/10/28 12:40:01 What is the issue with getting the time back as a
Charlie Harrison 2015/10/28 14:45:00 DocumentLoadTiming stores the timing as TimeTicks
106 110
107 protected: 111 protected:
108 ~WebDataSource() { } 112 ~WebDataSource() { }
109 }; 113 };
110 114
111 } // namespace blink 115 } // namespace blink
112 116
113 #endif 117 #endif
OLDNEW
« content/renderer/render_frame_impl.cc ('K') | « third_party/WebKit/public/platform/WebURLRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698