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

Unified Diff: components/doodle/doodle_service_unittest.cc

Issue 2794343002: Network traffic annotation added to image_data_fetcher. (Closed)
Patch Set: Annotation updated. 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
Index: components/doodle/doodle_service_unittest.cc
diff --git a/components/doodle/doodle_service_unittest.cc b/components/doodle/doodle_service_unittest.cc
index 88ae97d2ee2f5e5aa87c31de10ee5721def8db56..6698df02fd709a7a7dde7e224fa24a342362dd5b 100644
--- a/components/doodle/doodle_service_unittest.cc
+++ b/components/doodle/doodle_service_unittest.cc
@@ -20,6 +20,7 @@
#include "components/image_fetcher/core/image_fetcher.h"
#include "components/image_fetcher/core/request_metadata.h"
#include "components/prefs/testing_pref_service.h"
+#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/size.h"
@@ -94,7 +95,8 @@ class FakeImageFetcher : public ImageFetcher {
void StartOrQueueNetworkRequest(
const std::string& id,
const GURL& url,
- const ImageFetcherCallback& callback) override {
+ const ImageFetcherCallback& callback,
+ const net::NetworkTrafficAnnotationTag&) override {
// For simplicity, the fake doesn't support multiple concurrent requests.
DCHECK(!HasPendingRequest());

Powered by Google App Engine
This is Rietveld 408576698