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

Unified Diff: media/blink/url_index.cc

Issue 2842763003: media: Send chrome-cache: frfr on first request. (Closed)
Patch Set: merge Created 3 years, 7 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 | « media/blink/url_index.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/url_index.cc
diff --git a/media/blink/url_index.cc b/media/blink/url_index.cc
index c0f1428ce8397ba632c2cac2f25b0dc1fcf1f001..f255cb19f686e21499392dfa6e5d6528e74c83fa 100644
--- a/media/blink/url_index.cc
+++ b/media/blink/url_index.cc
@@ -80,6 +80,7 @@ void UrlData::MergeFrom(const scoped_refptr<UrlData>& other) {
if (last_modified_.is_null()) {
last_modified_ = other->last_modified_;
}
+ bytes_read_from_cache_ += other->bytes_read_from_cache_;
multibuffer()->MergeFrom(other->multibuffer());
}
}
« no previous file with comments | « media/blink/url_index.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698