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

Unified Diff: chrome/browser/android/popular_sites.h

Issue 1306043005: Popular sites on the NTP: store downloaded file at a fixed path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@redownload
Patch Set: rebase Created 5 years, 3 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/android/most_visited_sites.cc ('k') | chrome/browser/android/popular_sites.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/popular_sites.h
diff --git a/chrome/browser/android/popular_sites.h b/chrome/browser/android/popular_sites.h
index a8170627b04ea74acd735afc1997a245d895b177..be5687978315c85dc2bfe8ae5bdf3a7b30a0b52a 100644
--- a/chrome/browser/android/popular_sites.h
+++ b/chrome/browser/android/popular_sites.h
@@ -45,9 +45,10 @@ class PopularSites {
using FinishedCallback = base::Callback<void(bool /* success */)>;
+ // Usually, the name of the file that's downloaded is based on the user's
+ // locale. |filename|, if non-empty, will override that default name.
PopularSites(Profile* profile,
const std::string& filename,
- net::URLRequestContextGetter* request_context,
const FinishedCallback& callback);
~PopularSites();
« no previous file with comments | « chrome/browser/android/most_visited_sites.cc ('k') | chrome/browser/android/popular_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698