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 #include "chrome/browser/shell_integration.h" | 5 #include "apps/shell_integration.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 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/file_util.h" | 13 #include "base/file_util.h" |
14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 } | 510 } |
511 | 511 |
512 shortcut = shortcut.Append(shortcut_name).Append(shortcut_name + | 512 shortcut = shortcut.Append(shortcut_name).Append(shortcut_name + |
513 installer::kLnkExt); | 513 installer::kLnkExt); |
514 if (file_util::PathExists(shortcut)) | 514 if (file_util::PathExists(shortcut)) |
515 return shortcut; | 515 return shortcut; |
516 } | 516 } |
517 | 517 |
518 return base::FilePath(); | 518 return base::FilePath(); |
519 } | 519 } |
OLD | NEW |