| 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/first_run.h" | 5 #include "chrome/browser/first_run/first_run.h" |
| 6 | 6 |
| 7 #include "app/app_switches.h" | 7 #include "app/app_switches.h" |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "chrome/browser/gtk/first_run_dialog.h" | 13 #include "chrome/browser/gtk/first_run_dialog.h" |
| 14 #include "chrome/browser/profile_manager.h" | 14 #include "chrome/browser/profile_manager.h" |
| 15 #include "chrome/browser/shell_integration.h" | 15 #include "chrome/browser/shell_integration.h" |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 } | 168 } |
| 169 file_util::FileInfo exe_file_info; | 169 file_util::FileInfo exe_file_info; |
| 170 if (!file_util::GetFileInfo(exe_file_path, &exe_file_info)) { | 170 if (!file_util::GetFileInfo(exe_file_path, &exe_file_info)) { |
| 171 LOG(WARNING) << "Failed to get FileInfo object for FILE_EXE - " | 171 LOG(WARNING) << "Failed to get FileInfo object for FILE_EXE - " |
| 172 << exe_file_path.value(); | 172 << exe_file_path.value(); |
| 173 return saved_last_modified_time_of_exe_; | 173 return saved_last_modified_time_of_exe_; |
| 174 } | 174 } |
| 175 return exe_file_info.last_modified.ToDoubleT(); | 175 return exe_file_info.last_modified.ToDoubleT(); |
| 176 } | 176 } |
| 177 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) | 177 #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| OLD | NEW |