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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 989473003: Reland of Refactor the loading tracking logic in WebContentsImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert change + nits Created 5 years, 9 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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 5b5956e1508434c2461f52a0d8cbc9eadc23caa6..0cd2bdb72c532b4d3cac225a215afcb10993c42b 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -1074,18 +1074,10 @@ class CONTENT_EXPORT WebContentsImpl
net::LoadStateWithParam load_state_;
base::string16 load_state_host_;
- // LoadingProgressMap maps FrameTreeNode IDs to a double representing that
- // frame's completion (from 0 to 1).
- typedef base::hash_map<int64, double> LoadingProgressMap;
- LoadingProgressMap loading_progresses_;
double loading_total_progress_;
base::TimeTicks loading_last_progress_update_;
- // Counter to track how many frames have sent start notifications but not
- // stop notifications.
- int loading_frames_in_progress_;
-
// Upload progress, for displaying in the status bar.
// Set to zero when there is no significant upload happening.
uint64 upload_size_;
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698