Index: components/favicon/core/large_icon_service.cc |
diff --git a/components/favicon/core/large_icon_service.cc b/components/favicon/core/large_icon_service.cc |
index bf94e5b38ea09f0ccbe059df76ed3984f6c62e80..6f90d13042a0b735f4fad0359d8b967519b1af9b 100644 |
--- a/components/favicon/core/large_icon_service.cc |
+++ b/components/favicon/core/large_icon_service.cc |
@@ -339,10 +339,30 @@ void LargeIconService:: |
image_fetcher_->SetDataUseServiceName( |
data_use_measurement::DataUseUserData::LARGE_ICON_SERVICE); |
+ net::NetworkTrafficAnnotationTag traffic_annotation = |
+ net::DefineNetworkTrafficAnnotation("favicon_component", R"( |
+ semantics { |
+ sender: "Favicon Component" |
+ description: |
+ "Sends a request to a Google server to retrieve the favicon bitmap " |
msramek
2017/05/18 11:25:18
Since the payload is sensitive, can you please ela
pkotwicz
2017/05/18 15:47:43
There are multiple places where the payload can co
msramek
2017/05/18 16:02:16
So, my point is that we generally only share user'
jkrcal
2017/05/19 06:18:21
I would replace the "For instance, ..." sentence b
Ramin Halavati
2017/05/19 06:37:37
Done.
|
+ "for a page URL." |
+ trigger: |
+ "A request can be sent for signed-in users when Chrome does not " |
+ "have a favicon for a particular page. For instance, this is used " |
+ "by the new tab page for the 'most visited' tiles." |
+ data: "Page URL and desired icon size." |
+ destination: GOOGLE_OWNED_SERVICE |
+ } |
+ policy { |
+ cookies_allowed: false |
+ setting: "This feature cannot be disabled by settings." |
+ policy_exception_justification: "Not implemented." |
+ })"); |
image_fetcher_->StartOrQueueNetworkRequest( |
server_request_url.spec(), server_request_url, |
base::Bind(&OnFetchIconFromGoogleServerComplete, favicon_service_, |
- page_url, callback)); |
+ page_url, callback), |
+ traffic_annotation); |
} |
base::CancelableTaskTracker::TaskId |