| 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_WIN_JUMPLIST_H_ | 5 #ifndef CHROME_BROWSER_WIN_JUMPLIST_H_ |
| 6 #define CHROME_BROWSER_WIN_JUMPLIST_H_ | 6 #define CHROME_BROWSER_WIN_JUMPLIST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| 11 #include <memory> |
| 11 #include <string> | 12 #include <string> |
| 12 #include <utility> | 13 #include <utility> |
| 13 #include <vector> | |
| 14 | 14 |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 18 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
| 19 #include "base/synchronization/lock.h" | 20 #include "base/synchronization/lock.h" |
| 20 #include "base/task/cancelable_task_tracker.h" | 21 #include "base/task/cancelable_task_tracker.h" |
| 21 #include "base/timer/timer.h" | 22 #include "base/timer/timer.h" |
| 22 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 23 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| 23 #include "chrome/browser/win/jumplist_updater.h" | 24 #include "chrome/browser/win/jumplist_updater.h" |
| 24 #include "components/history/core/browser/history_service.h" | 25 #include "components/history/core/browser/history_service.h" |
| 25 #include "components/history/core/browser/history_types.h" | 26 #include "components/history/core/browser/history_types.h" |
| 26 #include "components/history/core/browser/top_sites_observer.h" | 27 #include "components/history/core/browser/top_sites_observer.h" |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 // JumpListIconsOld directory. | 247 // JumpListIconsOld directory. |
| 247 scoped_refptr<base::SequencedTaskRunner> delete_jumplisticons_task_runner_; | 248 scoped_refptr<base::SequencedTaskRunner> delete_jumplisticons_task_runner_; |
| 248 | 249 |
| 249 // For callbacks may be run after destruction. | 250 // For callbacks may be run after destruction. |
| 250 base::WeakPtrFactory<JumpList> weak_ptr_factory_; | 251 base::WeakPtrFactory<JumpList> weak_ptr_factory_; |
| 251 | 252 |
| 252 DISALLOW_COPY_AND_ASSIGN(JumpList); | 253 DISALLOW_COPY_AND_ASSIGN(JumpList); |
| 253 }; | 254 }; |
| 254 | 255 |
| 255 #endif // CHROME_BROWSER_WIN_JUMPLIST_H_ | 256 #endif // CHROME_BROWSER_WIN_JUMPLIST_H_ |
| OLD | NEW |