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

Unified Diff: media/base/download_rate_monitor.h

Issue 9269027: Revert 118546 because it caused PrerenderHTML5VideoNetwork to timeout on windows and linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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
« no previous file with comments | « no previous file | media/base/download_rate_monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/download_rate_monitor.h
===================================================================
--- media/base/download_rate_monitor.h (revision 118589)
+++ media/base/download_rate_monitor.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -126,6 +126,9 @@
Sample current_sample_;
std::deque<Sample> sample_window_;
+ // True if actively downloading bytes, false otherwise.
+ bool is_downloading_data_;
+
// Total number of bytes in the media file, 0 if unknown or undefined.
int64 total_bytes_;
@@ -146,9 +149,6 @@
// True if the data source is a streaming source, false otherwise.
bool streaming_;
- // True if downloading has been deferred at least once, false otherwise.
- bool has_deferred_;
-
DISALLOW_COPY_AND_ASSIGN(DownloadRateMonitor);
};
« no previous file with comments | « no previous file | media/base/download_rate_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698