OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_TYPES_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_TYPES_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_TYPES_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_TYPES_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "components/query_parser/query_parser.h" | 28 #include "components/query_parser/query_parser.h" |
29 #include "ui/base/page_transition_types.h" | 29 #include "ui/base/page_transition_types.h" |
30 #include "ui/gfx/geometry/size.h" | 30 #include "ui/gfx/geometry/size.h" |
31 #include "url/gurl.h" | 31 #include "url/gurl.h" |
32 | 32 |
33 namespace history { | 33 namespace history { |
34 | 34 |
35 // Forward declaration for friend statements. | 35 // Forward declaration for friend statements. |
36 class HistoryBackend; | 36 class HistoryBackend; |
37 class PageUsageData; | 37 class PageUsageData; |
38 class URLDatabase; | |
39 | 38 |
40 // Container for a list of URLs. | 39 // Container for a list of URLs. |
41 typedef std::vector<GURL> RedirectList; | 40 typedef std::vector<GURL> RedirectList; |
42 | 41 |
43 typedef int64_t FaviconBitmapID; // Identifier for a bitmap in a favicon. | 42 typedef int64_t FaviconBitmapID; // Identifier for a bitmap in a favicon. |
44 typedef int64_t SegmentID; // URL segments for the most visited view. | 43 typedef int64_t SegmentID; // URL segments for the most visited view. |
45 typedef int64_t IconMappingID; // For page url and icon mapping. | 44 typedef int64_t IconMappingID; // For page url and icon mapping. |
46 | 45 |
47 // The enumeration of all possible sources of visits is listed below. | 46 // The enumeration of all possible sources of visits is listed below. |
48 // The source will be propagated along with a URL or a visit item | 47 // The source will be propagated along with a URL or a visit item |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 void SetTimeRangeForOneDay(base::Time time); | 553 void SetTimeRangeForOneDay(base::Time time); |
555 | 554 |
556 std::set<GURL> urls; | 555 std::set<GURL> urls; |
557 base::Time begin_time; | 556 base::Time begin_time; |
558 base::Time end_time; | 557 base::Time end_time; |
559 }; | 558 }; |
560 | 559 |
561 } // namespace history | 560 } // namespace history |
562 | 561 |
563 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_TYPES_H_ | 562 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_TYPES_H_ |
OLD | NEW |