| 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 "base/base_paths.h" | 7 #include "base/base_paths.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 base::PlatformFileInfo exe_file_info; | 46 base::PlatformFileInfo exe_file_info; |
| 47 if (!file_util::GetFileInfo(exe_file_path, &exe_file_info)) { | 47 if (!file_util::GetFileInfo(exe_file_path, &exe_file_info)) { |
| 48 LOG(WARNING) << "Failed to get FileInfo object for FILE_EXE - " | 48 LOG(WARNING) << "Failed to get FileInfo object for FILE_EXE - " |
| 49 << exe_file_path.value(); | 49 << exe_file_path.value(); |
| 50 return saved_last_modified_time_of_exe_; | 50 return saved_last_modified_time_of_exe_; |
| 51 } | 51 } |
| 52 return exe_file_info.last_modified.ToDoubleT(); | 52 return exe_file_info.last_modified.ToDoubleT(); |
| 53 } | 53 } |
| 54 | 54 |
| 55 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) | 55 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| OLD | NEW |