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

Side by Side Diff: chrome/browser/precache/most_visited_urls_provider.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PRECACHE_MOST_VISITED_URLS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_PRECACHE_MOST_VISITED_URLS_PROVIDER_H_
6 #define CHROME_BROWSER_PRECACHE_MOST_VISITED_URLS_PROVIDER_H_ 6 #define CHROME_BROWSER_PRECACHE_MOST_VISITED_URLS_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "components/precache/core/url_list_provider.h" 11 #include "components/precache/core/url_list_provider.h"
12 12
13 namespace history { 13 namespace history {
14 class TopSites; 14 class TopSites;
15 } 15 }
16 16
17 namespace precache { 17 namespace precache {
18 18
19 // A URLListProvider that provides a list of the user's most visited URLs. 19 // A URLListProvider that provides a list of the user's most visited URLs.
20 class MostVisitedURLsProvider : public URLListProvider { 20 class MostVisitedURLsProvider : public URLListProvider {
21 public: 21 public:
22 explicit MostVisitedURLsProvider(history::TopSites* top_sites); 22 explicit MostVisitedURLsProvider(history::TopSites* top_sites);
23 ~MostVisitedURLsProvider(); 23 ~MostVisitedURLsProvider();
24 24
25 // Returns a list of the user's most visited URLs via a callback. May be 25 // Returns a list of the user's most visited URLs via a callback. May be
26 // called from any thread. The callback may be run before the call to GetURLs 26 // called from any thread. The callback may be run before the call to GetURLs
27 // returns. 27 // returns.
28 virtual void GetURLs(const GetURLsCallback& callback) OVERRIDE; 28 virtual void GetURLs(const GetURLsCallback& callback) override;
29 29
30 private: 30 private:
31 scoped_refptr<history::TopSites> top_sites_; 31 scoped_refptr<history::TopSites> top_sites_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(MostVisitedURLsProvider); 33 DISALLOW_COPY_AND_ASSIGN(MostVisitedURLsProvider);
34 }; 34 };
35 35
36 } // namespace precache 36 } // namespace precache
37 37
38 #endif // CHROME_BROWSER_PRECACHE_MOST_VISITED_URLS_PROVIDER_H_ 38 #endif // CHROME_BROWSER_PRECACHE_MOST_VISITED_URLS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/power/process_power_collector_unittest.cc ('k') | chrome/browser/predictors/autocomplete_action_predictor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698