OLD | NEW |
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/shell_integration.h" | 5 #include "chrome/browser/shell_integration.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <propvarutil.h> | 8 #include <propvarutil.h> |
9 #include <shlobj.h> | 9 #include <shlobj.h> |
10 #include <shobjidl.h> | 10 #include <shobjidl.h> |
11 | 11 |
12 #include "app/win_util.h" | |
13 #include "base/command_line.h" | 12 #include "base/command_line.h" |
14 #include "base/file_util.h" | 13 #include "base/file_util.h" |
15 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
16 #include "base/path_service.h" | 15 #include "base/path_service.h" |
17 #include "base/registry.h" | 16 #include "base/registry.h" |
18 #include "base/scoped_comptr_win.h" | 17 #include "base/scoped_comptr_win.h" |
19 #include "base/string_util.h" | 18 #include "base/string_util.h" |
20 #include "base/task.h" | 19 #include "base/task.h" |
21 #include "base/win_util.h" | 20 #include "base/win_util.h" |
22 #include "chrome/browser/chrome_thread.h" | 21 #include "chrome/browser/chrome_thread.h" |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 profile_path); | 404 profile_path); |
406 } | 405 } |
407 | 406 |
408 void ShellIntegration::MigrateChromiumShortcuts() { | 407 void ShellIntegration::MigrateChromiumShortcuts() { |
409 if (win_util::GetWinVersion() < win_util::WINVERSION_WIN7) | 408 if (win_util::GetWinVersion() < win_util::WINVERSION_WIN7) |
410 return; | 409 return; |
411 | 410 |
412 ChromeThread::PostTask( | 411 ChromeThread::PostTask( |
413 ChromeThread::FILE, FROM_HERE, new MigrateChromiumShortcutsTask()); | 412 ChromeThread::FILE, FROM_HERE, new MigrateChromiumShortcutsTask()); |
414 } | 413 } |
OLD | NEW |