OLD | NEW |
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_PAGE_USAGE_DATA_H__ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_PAGE_USAGE_DATA_H__ |
6 #define CHROME_BROWSER_HISTORY_PAGE_USAGE_DATA_H__ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_PAGE_USAGE_DATA_H__ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "chrome/browser/history/history_types.h" | 9 #include "components/history/core/browser/history_types.h" |
10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
11 | 11 |
12 class SkBitmap; | 12 class SkBitmap; |
13 | 13 |
14 ///////////////////////////////////////////////////////////////////////////// | 14 ///////////////////////////////////////////////////////////////////////////// |
15 // | 15 // |
16 // PageUsageData | 16 // PageUsageData |
17 // | 17 // |
18 // A per domain usage data structure to compute and manage most visited | 18 // A per domain usage data structure to compute and manage most visited |
19 // pages. | 19 // pages. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 static bool Predicate(const PageUsageData* dud1, const PageUsageData* dud2); | 60 static bool Predicate(const PageUsageData* dud1, const PageUsageData* dud2); |
61 | 61 |
62 private: | 62 private: |
63 history::SegmentID id_; | 63 history::SegmentID id_; |
64 GURL url_; | 64 GURL url_; |
65 base::string16 title_; | 65 base::string16 title_; |
66 | 66 |
67 double score_; | 67 double score_; |
68 }; | 68 }; |
69 | 69 |
70 #endif // CHROME_BROWSER_HISTORY_PAGE_USAGE_DATA_H__ | 70 #endif // COMPONENTS_HISTORY_CORE_BROWSER_PAGE_USAGE_DATA_H__ |
OLD | NEW |