OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_POSSIBLE_URL_MODEL_H_ | 5 #ifndef CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ |
6 #define CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ | 6 #define CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 std::wstring title; | 71 std::wstring title; |
72 }; | 72 }; |
73 | 73 |
74 // The current profile. | 74 // The current profile. |
75 Profile* profile_; | 75 Profile* profile_; |
76 | 76 |
77 // Our observer. | 77 // Our observer. |
78 TableModelObserver* observer_; | 78 TableModelObserver* observer_; |
79 | 79 |
80 // Our consumer for favicon requests. | 80 // Our consumer for favicon requests. |
81 CancelableRequestConsumerT<size_t, 0> consumer_; | 81 CancelableRequestConsumerT<size_t, NULL> consumer_; |
82 | 82 |
83 // The results we're showing. | 83 // The results we're showing. |
84 std::vector<Result> results_; | 84 std::vector<Result> results_; |
85 | 85 |
86 // Map Result::index -> Favicon. | 86 // Map Result::index -> Favicon. |
87 typedef std::map<size_t, SkBitmap> FavIconMap; | 87 typedef std::map<size_t, SkBitmap> FavIconMap; |
88 FavIconMap fav_icon_map_; | 88 FavIconMap fav_icon_map_; |
89 | 89 |
90 DISALLOW_EVIL_CONSTRUCTORS(PossibleURLModel); | 90 DISALLOW_EVIL_CONSTRUCTORS(PossibleURLModel); |
91 }; | 91 }; |
92 | 92 |
93 #endif // CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ | 93 #endif // CHROME_BROWSER_POSSIBLE_URL_MODEL_H_ |
OLD | NEW |