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

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

Issue 14585015: Recommit the generate profile patch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Load the browser dll manually on Windows. Created 7 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 | « no previous file | chrome/browser/history/history_unittest.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) 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_HISTORY_TYPES_H_ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_TYPES_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_TYPES_H_ 6 #define CHROME_BROWSER_HISTORY_HISTORY_TYPES_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 // TopSites ------------------------------------------------------------------- 594 // TopSites -------------------------------------------------------------------
595 595
596 typedef std::vector<MostVisitedURL> MostVisitedURLList; 596 typedef std::vector<MostVisitedURL> MostVisitedURLList;
597 typedef std::vector<FilteredURL> FilteredURLList; 597 typedef std::vector<FilteredURL> FilteredURLList;
598 598
599 // Used by TopSites to store the thumbnails. 599 // Used by TopSites to store the thumbnails.
600 struct Images { 600 struct Images {
601 Images(); 601 Images();
602 ~Images(); 602 ~Images();
603 603
604 scoped_refptr<base::RefCountedBytes> thumbnail; 604 scoped_refptr<base::RefCountedMemory> thumbnail;
605 ThumbnailScore thumbnail_score; 605 ThumbnailScore thumbnail_score;
606 606
607 // TODO(brettw): this will eventually store the favicon. 607 // TODO(brettw): this will eventually store the favicon.
608 // scoped_refptr<base::RefCountedBytes> favicon; 608 // scoped_refptr<base::RefCountedBytes> favicon;
609 }; 609 };
610 610
611 typedef std::vector<MostVisitedURL> MostVisitedURLList; 611 typedef std::vector<MostVisitedURL> MostVisitedURLList;
612 612
613 struct MostVisitedURLWithRank { 613 struct MostVisitedURLWithRank {
614 MostVisitedURL url; 614 MostVisitedURL url;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 void SetTimeRangeForOneDay(base::Time time); 839 void SetTimeRangeForOneDay(base::Time time);
840 840
841 std::set<GURL> urls; 841 std::set<GURL> urls;
842 base::Time begin_time; 842 base::Time begin_time;
843 base::Time end_time; 843 base::Time end_time;
844 }; 844 };
845 845
846 } // namespace history 846 } // namespace history
847 847
848 #endif // CHROME_BROWSER_HISTORY_HISTORY_TYPES_H_ 848 #endif // CHROME_BROWSER_HISTORY_HISTORY_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/history/history_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698