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

Unified Diff: components/doodle/doodle_fetcher_impl.h

Issue 2768333002: [Doodle] Pass parameters to the server endpoint (Closed)
Patch Set: ifdef android 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 | « chrome/browser/doodle/doodle_service_factory.cc ('k') | components/doodle/doodle_fetcher_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/doodle/doodle_fetcher_impl.h
diff --git a/components/doodle/doodle_fetcher_impl.h b/components/doodle/doodle_fetcher_impl.h
index d0d3861c24adaf398b87222c98a56f990d48ef14..463570c5f0d37a0b6df8d650adbae89137a4a123 100644
--- a/components/doodle/doodle_fetcher_impl.h
+++ b/components/doodle/doodle_fetcher_impl.h
@@ -45,7 +45,8 @@ class DoodleFetcherImpl : public DoodleFetcher, public net::URLFetcherDelegate {
DoodleFetcherImpl(
scoped_refptr<net::URLRequestContextGetter> download_context,
GoogleURLTracker* google_url_tracker,
- const ParseJSONCallback& json_parsing_callback);
+ const ParseJSONCallback& json_parsing_callback,
+ bool gray_background);
~DoodleFetcherImpl() override;
// Fetches a doodle asynchronously. The |callback| is called with a
@@ -79,8 +80,9 @@ class DoodleFetcherImpl : public DoodleFetcher, public net::URLFetcherDelegate {
// Parameters set from constructor.
scoped_refptr<net::URLRequestContextGetter> const download_context_;
- ParseJSONCallback json_parsing_callback_;
GoogleURLTracker* google_url_tracker_;
+ ParseJSONCallback json_parsing_callback_;
+ const bool gray_background_;
std::vector<FinishedCallback> callbacks_;
std::unique_ptr<net::URLFetcher> fetcher_;
« no previous file with comments | « chrome/browser/doodle/doodle_service_factory.cc ('k') | components/doodle/doodle_fetcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698