| 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 <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
| 15 #include "chrome/browser/cancelable_request.h" | 15 #include "chrome/browser/common/cancelable_request.h" |
| 16 #include "chrome/browser/history/history.h" | 16 #include "chrome/browser/history/history.h" |
| 17 #include "chrome/browser/history/history_types.h" | 17 #include "chrome/browser/history/history_types.h" |
| 18 #include "chrome/browser/sessions/tab_restore_service.h" | 18 #include "chrome/browser/sessions/tab_restore_service.h" |
| 19 #include "chrome/browser/sessions/tab_restore_service_observer.h" | 19 #include "chrome/browser/sessions/tab_restore_service_observer.h" |
| 20 #include "third_party/skia/include/core/SkBitmap.h" | 20 #include "third_party/skia/include/core/SkBitmap.h" |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 class NotificationRegistrar; | 23 class NotificationRegistrar; |
| 24 } | 24 } |
| 25 class FilePath; | 25 class FilePath; |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // Handle of last favicon request used to cancel if a new request | 233 // Handle of last favicon request used to cancel if a new request |
| 234 // comes in before the current one returns. | 234 // comes in before the current one returns. |
| 235 FaviconService::Handle handle_; | 235 FaviconService::Handle handle_; |
| 236 | 236 |
| 237 // Lock for most_visited_pages_, recently_closed_pages_, icon_urls_ | 237 // Lock for most_visited_pages_, recently_closed_pages_, icon_urls_ |
| 238 // as they may be used by up to 3 threads. | 238 // as they may be used by up to 3 threads. |
| 239 base::Lock list_lock_; | 239 base::Lock list_lock_; |
| 240 }; | 240 }; |
| 241 | 241 |
| 242 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ | 242 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ |
| OLD | NEW |