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

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

Issue 584013002: Componentize history_types.{cc,h} and android_history_types.{cc,h} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « chrome/browser/history/top_sites_backend.h ('k') | chrome/browser/history/top_sites_database.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "chrome/browser/history/history_types.h"
13 #include "chrome/browser/history/url_utils.h" 12 #include "chrome/browser/history/url_utils.h"
13 #include "components/history/core/browser/history_types.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 class GURL; 16 class GURL;
17 17
18 namespace history { 18 namespace history {
19 19
20 // TopSiteCache caches thumbnails for visited pages. Retrieving thumbnails from 20 // TopSiteCache caches thumbnails for visited pages. Retrieving thumbnails from
21 // a given input URL is a two-stage process: 21 // a given input URL is a two-stage process:
22 // 22 //
23 // input URL --(map 1)--> canonical URL --(map 2)--> image. 23 // input URL --(map 1)--> canonical URL --(map 2)--> image.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 // Helper to clear "/path?query#ref" from any GURL. This is set in the 161 // Helper to clear "/path?query#ref" from any GURL. This is set in the
162 // constructor and never modified after. 162 // constructor and never modified after.
163 GURL::Replacements clear_path_query_ref_; 163 GURL::Replacements clear_path_query_ref_;
164 164
165 DISALLOW_COPY_AND_ASSIGN(TopSitesCache); 165 DISALLOW_COPY_AND_ASSIGN(TopSitesCache);
166 }; 166 };
167 167
168 } // namespace history 168 } // namespace history
169 169
170 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_CACHE_H_ 170 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/top_sites_backend.h ('k') | chrome/browser/history/top_sites_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698