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

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

Issue 24632002: Implementing chrome://thumbnails page to view URLs in TopSites and cached thumbnails. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Trying to fix Linux compile by reordering initializing order of weak_ptr_factory_. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/history/top_sites_cache.cc ('k') | chrome/browser/history/top_sites_impl.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_HISTORY_TOP_SITES_IMPL_H_ 5 #ifndef CHROME_BROWSER_HISTORY_TOP_SITES_IMPL_H_
6 #define CHROME_BROWSER_HISTORY_TOP_SITES_IMPL_H_ 6 #define CHROME_BROWSER_HISTORY_TOP_SITES_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 25 matching lines...) Expand all
36 class FilePath; 36 class FilePath;
37 class RefCountedBytes; 37 class RefCountedBytes;
38 class RefCountedMemory; 38 class RefCountedMemory;
39 } 39 }
40 40
41 namespace history { 41 namespace history {
42 42
43 class TopSitesCache; 43 class TopSitesCache;
44 class TopSitesImplTest; 44 class TopSitesImplTest;
45 45
46
47 // This class allows requests for most visited urls and thumbnails on any 46 // This class allows requests for most visited urls and thumbnails on any
48 // thread. All other methods must be invoked on the UI thread. All mutations 47 // thread. All other methods must be invoked on the UI thread. All mutations
49 // to internal state happen on the UI thread and are scheduled to update the 48 // to internal state happen on the UI thread and are scheduled to update the
50 // db using TopSitesBackend. 49 // db using TopSitesBackend.
51 class TopSitesImpl : public TopSites { 50 class TopSitesImpl : public TopSites {
52 public: 51 public:
53 explicit TopSitesImpl(Profile* profile); 52 explicit TopSitesImpl(Profile* profile);
54 53
55 // Initializes TopSitesImpl. 54 // Initializes TopSitesImpl.
56 void Init(const base::FilePath& db_name); 55 void Init(const base::FilePath& db_name);
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 242
244 // Are we loaded? 243 // Are we loaded?
245 bool loaded_; 244 bool loaded_;
246 245
247 DISALLOW_COPY_AND_ASSIGN(TopSitesImpl); 246 DISALLOW_COPY_AND_ASSIGN(TopSitesImpl);
248 }; 247 };
249 248
250 } // namespace history 249 } // namespace history
251 250
252 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_IMPL_H_ 251 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/top_sites_cache.cc ('k') | chrome/browser/history/top_sites_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698