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_JUMPLIST_WIN_H_ | 5 #ifndef CHROME_BROWSER_JUMPLIST_WIN_H_ |
6 #define CHROME_BROWSER_JUMPLIST_WIN_H_ | 6 #define CHROME_BROWSER_JUMPLIST_WIN_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <list> | 10 #include <list> |
9 #include <string> | 11 #include <string> |
10 #include <utility> | 12 #include <utility> |
11 #include <vector> | 13 #include <vector> |
12 | 14 |
13 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
15 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
16 #include "base/task/cancelable_task_tracker.h" | 19 #include "base/task/cancelable_task_tracker.h" |
17 #include "base/timer/timer.h" | 20 #include "base/timer/timer.h" |
18 #include "chrome/browser/jumplist_updater_win.h" | 21 #include "chrome/browser/jumplist_updater_win.h" |
19 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 22 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
20 #include "components/history/core/browser/history_service.h" | 23 #include "components/history/core/browser/history_service.h" |
21 #include "components/history/core/browser/history_types.h" | 24 #include "components/history/core/browser/history_types.h" |
22 #include "components/history/core/browser/top_sites_observer.h" | 25 #include "components/history/core/browser/top_sites_observer.h" |
23 #include "components/sessions/core/tab_restore_service.h" | 26 #include "components/sessions/core/tab_restore_service.h" |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // as they may be used by up to 3 threads. | 188 // as they may be used by up to 3 threads. |
186 base::Lock list_lock_; | 189 base::Lock list_lock_; |
187 | 190 |
188 // For callbacks may be run after destruction. | 191 // For callbacks may be run after destruction. |
189 base::WeakPtrFactory<JumpList> weak_ptr_factory_; | 192 base::WeakPtrFactory<JumpList> weak_ptr_factory_; |
190 | 193 |
191 DISALLOW_COPY_AND_ASSIGN(JumpList); | 194 DISALLOW_COPY_AND_ASSIGN(JumpList); |
192 }; | 195 }; |
193 | 196 |
194 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ | 197 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ |
OLD | NEW |