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

Unified Diff: content/browser/loader/mojo_async_resource_handler.h

Issue 2566943002: Dispatch transfer size update notification on mojo-loading (Closed)
Patch Set: fix Created 4 years 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/loader/mojo_async_resource_handler.h
diff --git a/content/browser/loader/mojo_async_resource_handler.h b/content/browser/loader/mojo_async_resource_handler.h
index 81a2f85a61140d5f7ec0c96435d9da48b3328fc1..1aa77421a7106a015e2babe3e106c21b2f296d63 100644
--- a/content/browser/loader/mojo_async_resource_handler.h
+++ b/content/browser/loader/mojo_async_resource_handler.h
@@ -91,6 +91,7 @@ class CONTENT_EXPORT MojoAsyncResourceHandler
bool CheckForSufficientResource();
void OnWritable(MojoResult result);
void Cancel();
+ int64_t CalculateTransferSizeDiff();
mmenke 2016/12/13 20:01:25 Mind adding a description to what this does? Not
yhirano 2016/12/14 16:47:27 Done.
// This function can be overriden only for tests.
virtual void ReportBadMessage(const std::string& error);

Powered by Google App Engine
This is Rietveld 408576698