Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Side by Side Diff: chrome/browser/jumplist_win.h

Issue 11515005: Delay updating jumplist to avoid blocking the file thread at start-up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 DISALLOW_COPY_AND_ASSIGN(JumpList);
247 }; 249 };
248 250
249 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ 251 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.h » ('j') | chrome/browser/ui/views/load_complete_listener.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698