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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 6263014: Add Perceived PageLoad Time (PPLT) metrics for Prerender Experiments,... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 1159
1160 // Indicates the largest PageID we've seen. This field is ignored if we are 1160 // Indicates the largest PageID we've seen. This field is ignored if we are
1161 // a TabContents, in which case the max page ID is stored separately with 1161 // a TabContents, in which case the max page ID is stored separately with
1162 // each SiteInstance. 1162 // each SiteInstance.
1163 // TODO(brettw) this seems like it can be removed according to the comment. 1163 // TODO(brettw) this seems like it can be removed according to the comment.
1164 int32 max_page_id_; 1164 int32 max_page_id_;
1165 1165
1166 // System time at which the current load was started. 1166 // System time at which the current load was started.
1167 base::TimeTicks current_load_start_; 1167 base::TimeTicks current_load_start_;
1168 1168
1169 // System time at which the current load was started for the purpose of
1170 // the perceived page load time (PPLT).
1171 base::TimeTicks pplt_load_start_;
1172
1169 // The current load state and the URL associated with it. 1173 // The current load state and the URL associated with it.
1170 net::LoadState load_state_; 1174 net::LoadState load_state_;
1171 string16 load_state_host_; 1175 string16 load_state_host_;
1172 // Upload progress, for displaying in the status bar. 1176 // Upload progress, for displaying in the status bar.
1173 // Set to zero when there is no significant upload happening. 1177 // Set to zero when there is no significant upload happening.
1174 uint64 upload_size_; 1178 uint64 upload_size_;
1175 uint64 upload_position_; 1179 uint64 upload_position_;
1176 1180
1177 // Data for current page ----------------------------------------------------- 1181 // Data for current page -----------------------------------------------------
1178 1182
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 ObserverList<WebNavigationObserver> web_navigation_observers_; 1339 ObserverList<WebNavigationObserver> web_navigation_observers_;
1336 1340
1337 // Content restrictions, used to disable print/copy etc based on content's 1341 // Content restrictions, used to disable print/copy etc based on content's
1338 // (full-page plugins for now only) permissions. 1342 // (full-page plugins for now only) permissions.
1339 int content_restrictions_; 1343 int content_restrictions_;
1340 1344
1341 DISALLOW_COPY_AND_ASSIGN(TabContents); 1345 DISALLOW_COPY_AND_ASSIGN(TabContents);
1342 }; 1346 };
1343 1347
1344 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1348 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698