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

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

Issue 2914923002: Fixing removing entries from DUA too early. (Closed)
Patch Set: nit 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 | « components/data_use_measurement/core/data_use_recorder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_use_measurement/core/data_use_recorder.cc
diff --git a/components/data_use_measurement/core/data_use_recorder.cc b/components/data_use_measurement/core/data_use_recorder.cc
index f9a387043b693216d6616c99af3c28382538e2ad..732796e134c5f00651af27bcab5e533e367537de 100644
--- a/components/data_use_measurement/core/data_use_recorder.cc
+++ b/components/data_use_measurement/core/data_use_recorder.cc
@@ -53,10 +53,6 @@ void DataUseRecorder::RemovePendingDataSource(void* source) {
pending_data_sources_.erase(source);
}
-bool DataUseRecorder::HasPendingURLRequest(net::URLRequest* request) {
- return pending_url_requests_.find(request) != pending_url_requests_.end();
-}
-
void DataUseRecorder::MergeFrom(DataUseRecorder* other) {
data_use_.MergeFrom(other->data_use());
}
« no previous file with comments | « components/data_use_measurement/core/data_use_recorder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698