Chromium Code Reviews| 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> |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 237 typedef std::pair<std::string, scoped_refptr<ShellLinkItem> > URLPair; | 237 typedef std::pair<std::string, scoped_refptr<ShellLinkItem> > URLPair; |
| 238 std::list<URLPair> icon_urls_; | 238 std::list<URLPair> icon_urls_; |
| 239 | 239 |
| 240 // Id of last favicon task. It's used to cancel current task if a new one | 240 // Id of last favicon task. It's used to cancel current task if a new one |
| 241 // comes in before it finishes. | 241 // comes in before it finishes. |
| 242 CancelableTaskTracker::TaskId task_id_; | 242 CancelableTaskTracker::TaskId task_id_; |
| 243 | 243 |
| 244 // Lock for most_visited_pages_, recently_closed_pages_, icon_urls_ | 244 // Lock for most_visited_pages_, recently_closed_pages_, icon_urls_ |
| 245 // as they may be used by up to 3 threads. | 245 // as they may be used by up to 3 threads. |
| 246 base::Lock list_lock_; | 246 base::Lock list_lock_; |
| 247 | |
| 248 // True if the initial page load is still in progress. | |
| 249 bool initial_page_load_pending_; | |
| 250 | |
| 251 // True if an update has been requested before startup completed. | |
| 252 bool update_pending_; | |
| 247 }; | 253 }; |
|
sky
2012/12/13 23:07:51
DISALLOW_COPY...
Cait (Slow)
2012/12/18 17:49:21
Done.
| |
| 248 | 254 |
| 249 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ | 255 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ |
| OLD | NEW |