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

Side by Side Diff: chrome/browser/history/top_sites_factory.h

Issue 1151563005: Revert of NTP Zombie Code Slayer Part IV: Most Visited (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « chrome/browser/history/DEPS ('k') | chrome/browser/history/top_sites_factory.cc » ('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 CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_ 5 #ifndef CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_
6 #define CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_ 6 #define CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 29 matching lines...) Expand all
40 40
41 private: 41 private:
42 friend struct DefaultSingletonTraits<TopSitesFactory>; 42 friend struct DefaultSingletonTraits<TopSitesFactory>;
43 43
44 TopSitesFactory(); 44 TopSitesFactory();
45 ~TopSitesFactory() override; 45 ~TopSitesFactory() override;
46 46
47 // Overridden from BrowserContextKeyedServiceFactory. 47 // Overridden from BrowserContextKeyedServiceFactory.
48 scoped_refptr<RefcountedKeyedService> BuildServiceInstanceFor( 48 scoped_refptr<RefcountedKeyedService> BuildServiceInstanceFor(
49 content::BrowserContext* context) const override; 49 content::BrowserContext* context) const override;
50 void RegisterProfilePrefs(
51 user_prefs::PrefRegistrySyncable* registry) override;
52 bool ServiceIsNULLWhileTesting() const override; 50 bool ServiceIsNULLWhileTesting() const override;
53 51
54 DISALLOW_COPY_AND_ASSIGN(TopSitesFactory); 52 DISALLOW_COPY_AND_ASSIGN(TopSitesFactory);
55 }; 53 };
56 54
57 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_ 55 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/DEPS ('k') | chrome/browser/history/top_sites_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698