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

Unified Diff: components/data_use_measurement/core/data_use_ascriber.cc

Issue 2354323002: Propagate network delegate events to ChromeDataUseAscriber. (Closed)
Patch Set: Added comments Created 4 years, 3 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: components/data_use_measurement/core/data_use_ascriber.cc
diff --git a/components/data_use_measurement/core/data_use_ascriber.cc b/components/data_use_measurement/core/data_use_ascriber.cc
new file mode 100644
index 0000000000000000000000000000000000000000..4b42c631733a2dd2bd35bf5e8c22124d2f47b580
--- /dev/null
+++ b/components/data_use_measurement/core/data_use_ascriber.cc
@@ -0,0 +1,23 @@
+// Copyright 2016 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.
+
+#include "components/data_use_measurement/core/data_use_ascriber.h"
+
+namespace data_use_measurement {
+
+void DataUseAscriber::OnBeforeUrlRequest(net::URLRequest* request) {}
+
+void DataUseAscriber::OnBeforeRedirect(net::URLRequest* request,
+ const GURL& new_location) {}
+
+void DataUseAscriber::OnNetworkBytesSent(net::URLRequest* request,
+ int64_t bytes_sent) {}
+
+void DataUseAscriber::OnNetworkBytesReceived(net::URLRequest* request,
+ int64_t bytes_received) {}
+
+void DataUseAscriber::OnUrlRequestCompleted(net::URLRequest* request,
+ bool started) {}
+
+} // namespace data_use_measurement

Powered by Google App Engine
This is Rietveld 408576698