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

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

Issue 8533030: Cleanup: Remove forward declarations in various chrome/browser directories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CACHE_H_ 5 #ifndef CHROME_BROWSER_HISTORY_TOP_SITES_CACHE_H_
6 #define CHROME_BROWSER_HISTORY_TOP_SITES_CACHE_H_ 6 #define CHROME_BROWSER_HISTORY_TOP_SITES_CACHE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <algorithm>
10 #include <map> 9 #include <map>
11 #include <string> 10 #include <utility>
12 11
13 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
14 #include "chrome/browser/history/history_types.h" 13 #include "chrome/browser/history/history_types.h"
15 14
16 class RefCountedBytes;
17
18 namespace history { 15 namespace history {
19 16
20 // TopSitesCache caches the top sites and thumbnails for TopSites. 17 // TopSitesCache caches the top sites and thumbnails for TopSites.
21 class TopSitesCache { 18 class TopSitesCache {
22 public: 19 public:
23 TopSitesCache(); 20 TopSitesCache();
24 ~TopSitesCache(); 21 ~TopSitesCache();
25 22
26 // The top sites. 23 // The top sites.
27 void SetTopSites(const MostVisitedURLList& top_sites); 24 void SetTopSites(const MostVisitedURLList& top_sites);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Generated from the redirects to and from the most visited pages. See 93 // Generated from the redirects to and from the most visited pages. See
97 // description above typedef for details. 94 // description above typedef for details.
98 CanonicalURLs canonical_urls_; 95 CanonicalURLs canonical_urls_;
99 96
100 DISALLOW_COPY_AND_ASSIGN(TopSitesCache); 97 DISALLOW_COPY_AND_ASSIGN(TopSitesCache);
101 }; 98 };
102 99
103 } // namespace history 100 } // namespace history
104 101
105 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_CACHE_H_ 102 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/in_memory_url_index.h ('k') | chrome/browser/history/top_sites_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698