diff options
author | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 16:39:01 +0000 |
---|---|---|
committer | davemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 16:39:01 +0000 |
commit | 41da4799559e2e8c2b8434dc74bee5f1fa030dc1 (patch) | |
tree | b94bb0690f2a306c70944e0cf6a8f76015857796 /chrome/renderer/navigation_state.h | |
parent | d371c0d2acecbe92f475c8332ab8e19e56e3f1b1 (diff) | |
download | chromium_src-41da4799559e2e8c2b8434dc74bee5f1fa030dc1.zip chromium_src-41da4799559e2e8c2b8434dc74bee5f1fa030dc1.tar.gz chromium_src-41da4799559e2e8c2b8434dc74bee5f1fa030dc1.tar.bz2 |
Reverting 19361.
tbr=darin
Review URL: http://codereview.chromium.org/149081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/navigation_state.h')
-rw-r--r-- | chrome/renderer/navigation_state.h | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/chrome/renderer/navigation_state.h b/chrome/renderer/navigation_state.h index 46c17f3..7d6aed5 100644 --- a/chrome/renderer/navigation_state.h +++ b/chrome/renderer/navigation_state.h @@ -54,7 +54,7 @@ class NavigationState : public WebKit::WebDataSource::ExtraData { request_time_ = value; } - // The time that the document load started. + // The time that this navigation actually started. const base::Time& start_load_time() const { return start_load_time_; } @@ -62,14 +62,6 @@ class NavigationState : public WebKit::WebDataSource::ExtraData { start_load_time_ = value; } - // The time that the document load was committed. - const base::Time& commit_load_time() const { - return commit_load_time_; - } - void set_commit_load_time(const base::Time& value) { - commit_load_time_ = value; - } - // The time that the document finished loading. const base::Time& finish_document_load_time() const { return finish_document_load_time_; @@ -87,11 +79,11 @@ class NavigationState : public WebKit::WebDataSource::ExtraData { } // The time that layout first ran after a new navigation. - const base::Time& first_paint_time() const { - return first_paint_time_; + const base::Time& first_layout_time() const { + return first_layout_time_; } - void set_first_paint_time(const base::Time& value) { - first_paint_time_ = value; + void set_first_layout_time(const base::Time& value) { + first_layout_time_ = value; } // True if we have already processed the "DidCommitLoad" event for this @@ -131,10 +123,9 @@ class NavigationState : public WebKit::WebDataSource::ExtraData { PageTransition::Type transition_type_; base::Time request_time_; base::Time start_load_time_; - base::Time commit_load_time_; base::Time finish_document_load_time_; base::Time finish_load_time_; - base::Time first_paint_time_; + base::Time first_layout_time_; bool request_committed_; bool is_content_initiated_; int32 pending_page_id_; |