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

Unified Diff: content/child/request_extra_data.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: Browser nav-start attached to RequestExtraData Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/child/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index 37988d54dc570db7ecf3cd0aea92a890ccfe0159..44ad192e95921e9d6bac8606993177e1096b5ebf 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -6,6 +6,7 @@
#define CONTENT_CHILD_REQUEST_EXTRA_DATA_H_
#include "base/compiler_specific.h"
+#include "base/time/time.h"
#include "content/child/web_url_loader_impl.h"
#include "content/common/content_export.h"
#include "content/common/navigation_params.h"
@@ -93,6 +94,13 @@ class CONTENT_EXPORT RequestExtraData
void set_lofi_state(LoFiState lofi_state) {
lofi_state_ = lofi_state;
}
+ const base::TimeTicks& browser_navigation_start() const {
+ return browser_navigation_start_;
+ }
+ void set_browser_navigation_start(
+ const base::TimeTicks& browser_navigation_start) {
+ browser_navigation_start_ = browser_navigation_start;
+ }
// |custom_user_agent| is used to communicate an overriding custom user agent
// to |RenderViewImpl::willSendRequest()|; set to a null string to indicate no
// override and an empty string to indicate that there should be no user
@@ -138,6 +146,7 @@ class CONTENT_EXPORT RequestExtraData
blink::WebString requested_with_;
scoped_ptr<StreamOverrideParameters> stream_override_;
LoFiState lofi_state_;
+ base::TimeTicks browser_navigation_start_;
DISALLOW_COPY_AND_ASSIGN(RequestExtraData);
};

Powered by Google App Engine
This is Rietveld 408576698