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

Side by Side Diff: components/ntp_tiles/popular_sites.h

Issue 2841643005: [Popular Sites] Add Variations parameter to override URL path (Closed)
Patch Set: Update ntp-tiles-internals. Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/ntp_tiles/popular_sites_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_NTP_TILES_POPULAR_SITES_H_ 5 #ifndef COMPONENTS_NTP_TILES_POPULAR_SITES_H_
6 #define COMPONENTS_NTP_TILES_POPULAR_SITES_H_ 6 #define COMPONENTS_NTP_TILES_POPULAR_SITES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Must be called at most once on a given PopularSites object. 59 // Must be called at most once on a given PopularSites object.
60 virtual bool MaybeStartFetch(bool force_download, 60 virtual bool MaybeStartFetch(bool force_download,
61 const FinishedCallback& callback) = 0; 61 const FinishedCallback& callback) = 0;
62 62
63 // Returns the list of available sites. 63 // Returns the list of available sites.
64 virtual const SitesVector& sites() const = 0; 64 virtual const SitesVector& sites() const = 0;
65 65
66 // Various internals exposed publicly for diagnostic pages only. 66 // Various internals exposed publicly for diagnostic pages only.
67 virtual GURL GetLastURLFetched() const = 0; 67 virtual GURL GetLastURLFetched() const = 0;
68 virtual GURL GetURLToFetch() = 0; 68 virtual GURL GetURLToFetch() = 0;
69 virtual std::string GetDirectoryToFetch() = 0;
69 virtual std::string GetCountryToFetch() = 0; 70 virtual std::string GetCountryToFetch() = 0;
70 virtual std::string GetVersionToFetch() = 0; 71 virtual std::string GetVersionToFetch() = 0;
71 virtual const base::ListValue* GetCachedJson() = 0; 72 virtual const base::ListValue* GetCachedJson() = 0;
72 }; 73 };
73 74
74 } // namespace ntp_tiles 75 } // namespace ntp_tiles
75 76
76 #endif // COMPONENTS_NTP_TILES_POPULAR_SITES_H_ 77 #endif // COMPONENTS_NTP_TILES_POPULAR_SITES_H_
OLDNEW
« no previous file with comments | « no previous file | components/ntp_tiles/popular_sites_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698