| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/first_run/upgrade.h" | 5 #include "chrome/browser/first_run/upgrade.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/base_paths.h" | 10 #include "base/base_paths.h" |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 command_line.command_line_string(), false, false, NULL); | 148 command_line.command_line_string(), false, false, NULL); |
| 149 } | 149 } |
| 150 | 150 |
| 151 // static | 151 // static |
| 152 bool Upgrade::IsUpdatePendingRestart() { | 152 bool Upgrade::IsUpdatePendingRestart() { |
| 153 FilePath new_chrome_exe; | 153 FilePath new_chrome_exe; |
| 154 if (!GetNewerChromeFile(&new_chrome_exe)) | 154 if (!GetNewerChromeFile(&new_chrome_exe)) |
| 155 return false; | 155 return false; |
| 156 return file_util::PathExists(new_chrome_exe); | 156 return file_util::PathExists(new_chrome_exe); |
| 157 } | 157 } |
| OLD | NEW |