Index: components/spellcheck/browser/spelling_service_client.h |
diff --git a/components/spellcheck/browser/spelling_service_client.h b/components/spellcheck/browser/spelling_service_client.h |
index 30ff387eae608662023879b94f22dfa4081b01ee..29971d7eb1f49426e8f3c87db931ac6889bf27a5 100644 |
--- a/components/spellcheck/browser/spelling_service_client.h |
+++ b/components/spellcheck/browser/spelling_service_client.h |
@@ -13,6 +13,7 @@ |
#include "base/callback.h" |
#include "base/compiler_specific.h" |
#include "base/strings/string16.h" |
+#include "net/traffic_annotation/network_traffic_annotation.h" |
#include "net/url_request/url_fetcher_delegate.h" |
class GURL; |
@@ -118,7 +119,9 @@ class SpellingServiceClient : public net::URLFetcherDelegate { |
// Creates a URLFetcher object used for sending a JSON-RPC request. This |
// function is overridden by unit tests to prevent them from actually sending |
// requests to the Spelling service. |
- virtual std::unique_ptr<net::URLFetcher> CreateURLFetcher(const GURL& url); |
+ virtual std::unique_ptr<net::URLFetcher> CreateURLFetcher( |
+ const GURL& url, |
+ net::NetworkTrafficAnnotationTag traffic_annotation); |
// The URLFetcher object used for sending a JSON-RPC request. |
std::map<const net::URLFetcher*, std::unique_ptr<TextCheckCallbackData>> |