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

Unified Diff: components/data_use_measurement/content/content_url_request_classifier.h

Issue 2756373003: Record the data use of service worker initiated requests (Closed)
Patch Set: Fix unittest Created 3 years, 9 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 | components/data_use_measurement/content/content_url_request_classifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_use_measurement/content/content_url_request_classifier.h
diff --git a/components/data_use_measurement/content/content_url_request_classifier.h b/components/data_use_measurement/content/content_url_request_classifier.h
index 8b978fed77354f73b7a0787d78ec0916dd592f49..36ac03ba07e9ba52bf60c070e226b3eeaa3ee0d1 100644
--- a/components/data_use_measurement/content/content_url_request_classifier.h
+++ b/components/data_use_measurement/content/content_url_request_classifier.h
@@ -20,6 +20,8 @@ class ContentURLRequestClassifier : public URLRequestClassifier {
public:
bool IsUserRequest(const net::URLRequest& request) const override;
+ bool IsServiceWorkerRequest(const net::URLRequest& request) const override;
+
DataUseUserData::DataUseContentType GetContentType(
const net::URLRequest& request,
const net::HttpResponseHeaders& response_headers) const override;
« no previous file with comments | « no previous file | components/data_use_measurement/content/content_url_request_classifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698