| 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 "chrome/browser/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  | 
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  523   size_t folder = |  523   size_t folder = | 
|  524       InstallUtil::IsPerUserInstall(chrome_exe.value().c_str()) ? 1 : 0; |  524       InstallUtil::IsPerUserInstall(chrome_exe.value().c_str()) ? 1 : 0; | 
|  525   for (; folder < arraysize(kFolderIds); ++folder) { |  525   for (; folder < arraysize(kFolderIds); ++folder) { | 
|  526     if (!PathService::Get(kFolderIds[folder], &shortcut)) { |  526     if (!PathService::Get(kFolderIds[folder], &shortcut)) { | 
|  527       NOTREACHED(); |  527       NOTREACHED(); | 
|  528       continue; |  528       continue; | 
|  529     } |  529     } | 
|  530  |  530  | 
|  531     shortcut = shortcut.Append(shortcut_name).Append(shortcut_name + |  531     shortcut = shortcut.Append(shortcut_name).Append(shortcut_name + | 
|  532                                                      installer::kLnkExt); |  532                                                      installer::kLnkExt); | 
|  533     if (file_util::PathExists(shortcut)) |  533     if (base::PathExists(shortcut)) | 
|  534       return shortcut; |  534       return shortcut; | 
|  535   } |  535   } | 
|  536  |  536  | 
|  537   return base::FilePath(); |  537   return base::FilePath(); | 
|  538 } |  538 } | 
| OLD | NEW |