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_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ |
6 #define CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ | 6 #define CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
12 #include "base/task/cancelable_task_tracker.h" | 13 #include "base/task/cancelable_task_tracker.h" |
13 #include "components/history/core/browser/history_types.h" | 14 #include "components/history/core/browser/history_types.h" |
14 #include "ui/base/models/table_model.h" | 15 #include "ui/base/models/table_model.h" |
15 | 16 |
16 class Browser; | 17 class Browser; |
17 class GURL; | 18 class GURL; |
18 class Profile; | 19 class Profile; |
19 | 20 |
20 namespace history { | 21 namespace history { |
21 class URLRow; | 22 class URLRow; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 base::CancelableTaskTracker task_tracker_; | 114 base::CancelableTaskTracker task_tracker_; |
114 | 115 |
115 // Used to keep track of when it's time to update the observer when loading | 116 // Used to keep track of when it's time to update the observer when loading |
116 // multiple titles. | 117 // multiple titles. |
117 int num_outstanding_title_lookups_; | 118 int num_outstanding_title_lookups_; |
118 | 119 |
119 DISALLOW_COPY_AND_ASSIGN(CustomHomePagesTableModel); | 120 DISALLOW_COPY_AND_ASSIGN(CustomHomePagesTableModel); |
120 }; | 121 }; |
121 | 122 |
122 #endif // CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ | 123 #endif // CHROME_BROWSER_CUSTOM_HOME_PAGES_TABLE_MODEL_H_ |
OLD | NEW |