Chromium Code Reviews

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « chrome/browser/intranet_redirect_detector.cc ('k') | chrome/browser/language_combobox_model.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/jumplist_win.h" 5 #include "chrome/browser/jumplist_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <shobjidl.h> 8 #include <shobjidl.h>
9 #include <propkey.h> 9 #include <propkey.h>
10 #include <propvarutil.h> 10 #include <propvarutil.h>
11 11
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "app/l10n_util.h" 15 #include "app/l10n_util.h"
16 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/command_line.h" 17 #include "base/command_line.h"
18 #include "base/file_util.h" 18 #include "base/file_util.h"
19 #include "base/path_service.h" 19 #include "base/path_service.h"
20 #include "base/scoped_comptr_win.h" 20 #include "base/scoped_comptr_win.h"
21 #include "base/string_util.h" 21 #include "base/string_util.h"
22 #include "base/thread.h" 22 #include "base/thread.h"
23 #include "base/utf_string_conversions.h" 23 #include "base/utf_string_conversions.h"
24 #include "base/win/windows_version.h" 24 #include "base/win/windows_version.h"
25 #include "chrome/browser/browser_thread.h" 25 #include "chrome/browser/browser_thread.h"
26 #include "chrome/browser/favicon_service.h" 26 #include "chrome/browser/favicon_service.h"
27 #include "chrome/browser/history/history.h" 27 #include "chrome/browser/history/history.h"
28 #include "chrome/browser/history/page_usage_data.h" 28 #include "chrome/browser/history/page_usage_data.h"
29 #include "chrome/browser/profile.h" 29 #include "chrome/browser/profiles/profile.h"
30 #include "chrome/browser/sessions/session_types.h" 30 #include "chrome/browser/sessions/session_types.h"
31 #include "chrome/browser/sessions/tab_restore_service.h" 31 #include "chrome/browser/sessions/tab_restore_service.h"
32 #include "chrome/browser/shell_integration.h" 32 #include "chrome/browser/shell_integration.h"
33 #include "chrome/common/chrome_constants.h" 33 #include "chrome/common/chrome_constants.h"
34 #include "chrome/common/chrome_switches.h" 34 #include "chrome/common/chrome_switches.h"
35 #include "chrome/common/url_constants.h" 35 #include "chrome/common/url_constants.h"
36 #include "gfx/codec/png_codec.h" 36 #include "gfx/codec/png_codec.h"
37 #include "gfx/icon_util.h" 37 #include "gfx/icon_util.h"
38 #include "googleurl/src/gurl.h" 38 #include "googleurl/src/gurl.h"
39 #include "third_party/skia/include/core/SkBitmap.h" 39 #include "third_party/skia/include/core/SkBitmap.h"
(...skipping 733 matching lines...)
773 // the file thread. 773 // the file thread.
774 BrowserThread::PostTask( 774 BrowserThread::PostTask(
775 BrowserThread::FILE, FROM_HERE, 775 BrowserThread::FILE, FROM_HERE,
776 new JumpListUpdateTask(app_id_.c_str(), icon_dir_, most_visited_pages_, 776 new JumpListUpdateTask(app_id_.c_str(), icon_dir_, most_visited_pages_,
777 recently_closed_pages_)); 777 recently_closed_pages_));
778 778
779 // Delete all items in these lists since we don't need these lists any longer. 779 // Delete all items in these lists since we don't need these lists any longer.
780 most_visited_pages_.clear(); 780 most_visited_pages_.clear();
781 recently_closed_pages_.clear(); 781 recently_closed_pages_.clear();
782 } 782 }
OLDNEW
« no previous file with comments | « chrome/browser/intranet_redirect_detector.cc ('k') | chrome/browser/language_combobox_model.cc » ('j') | no next file with comments »

Powered by Google App Engine