OLD | NEW |
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 CHROME_BROWSER_ANDROID_NTP_POPULAR_SITES_H_ | 5 #ifndef CHROME_BROWSER_NTP_TILES_CHROME_POPULAR_SITES_FACTORY_H_ |
6 #define CHROME_BROWSER_ANDROID_NTP_POPULAR_SITES_H_ | 6 #define CHROME_BROWSER_NTP_TILES_CHROME_POPULAR_SITES_FACTORY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/files/file_path.h" | |
11 #include "base/macros.h" | |
12 | |
13 class Profile; | 10 class Profile; |
14 | 11 |
15 namespace ntp_tiles { | 12 namespace ntp_tiles { |
16 class PopularSites; | 13 class PopularSites; |
17 } // namespace ntp_tiles | 14 } // namespace ntp_tiles |
18 | 15 |
19 // TODO(sfiera): move to chrome_popular_sites.h | 16 class ChromePopularSitesFactory { |
20 class ChromePopularSites { | |
21 public: | 17 public: |
22 static std::unique_ptr<ntp_tiles::PopularSites> NewForProfile( | 18 static std::unique_ptr<ntp_tiles::PopularSites> NewForProfile( |
23 Profile* profile); | 19 Profile* profile); |
24 | 20 |
25 private: | 21 ChromePopularSitesFactory() = delete; |
26 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromePopularSites); | |
27 }; | 22 }; |
28 | 23 |
29 #endif // CHROME_BROWSER_ANDROID_NTP_POPULAR_SITES_H_ | 24 #endif // CHROME_BROWSER_NTP_TILES_CHROME_POPULAR_SITES_FACTORY_H_ |
OLD | NEW |