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

Unified Diff: components/ntp_tiles/popular_sites.h

Issue 1983063002: Move classes to //components/ntp_tiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 4 years, 6 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 | « components/ntp_tiles/most_visited_sites_unittest.cc ('k') | components/ntp_tiles/popular_sites.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_tiles/popular_sites.h
diff --git a/chrome/browser/android/ntp/popular_sites.h b/components/ntp_tiles/popular_sites.h
similarity index 93%
copy from chrome/browser/android/ntp/popular_sites.h
copy to components/ntp_tiles/popular_sites.h
index acd1796c0b5f55011aa52ad31f69903a285bd0dc..856526ccc98951cd8256933d63f0ef97a8f6055b 100644
--- a/chrome/browser/android/ntp/popular_sites.h
+++ b/components/ntp_tiles/popular_sites.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_ANDROID_NTP_POPULAR_SITES_H_
-#define CHROME_BROWSER_ANDROID_NTP_POPULAR_SITES_H_
+#ifndef COMPONENTS_NTP_TILES_POPULAR_SITES_H_
+#define COMPONENTS_NTP_TILES_POPULAR_SITES_H_
#include <memory>
#include <string>
@@ -36,15 +36,6 @@ class VariationsService;
class PrefService;
class TemplateURLService;
-// TODO(sfiera): move to chrome_popular_sites.h
-class ChromePopularSites {
- public:
- static base::FilePath GetDirectory();
-
- private:
- DISALLOW_IMPLICIT_CONSTRUCTORS(ChromePopularSites);
-};
-
// Downloads and provides a list of suggested popular sites, for display on
// the NTP when there are not enough personalized suggestions. Caches the
// downloaded file on disk to avoid re-downloading on every startup.
@@ -159,4 +150,4 @@ class PopularSites : public net::URLFetcherDelegate {
DISALLOW_COPY_AND_ASSIGN(PopularSites);
};
-#endif // CHROME_BROWSER_ANDROID_NTP_POPULAR_SITES_H_
+#endif // COMPONENTS_NTP_TILES_POPULAR_SITES_H_
« no previous file with comments | « components/ntp_tiles/most_visited_sites_unittest.cc ('k') | components/ntp_tiles/popular_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698