Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: chrome/browser/first_run/upgrade_util_linux.cc

Issue 273153003: Remove stray platform_file.h from chrome and components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove "using" Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_util.h" 5 #include "chrome/browser/first_run/upgrade_util.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_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/platform_file.h"
14 #include "base/process/launch.h" 13 #include "base/process/launch.h"
15 #include "chrome/browser/first_run/upgrade_util_linux.h" 14 #include "chrome/browser/first_run/upgrade_util_linux.h"
16 15
17 namespace { 16 namespace {
18 17
19 double saved_last_modified_time_of_exe = 0; 18 double saved_last_modified_time_of_exe = 0;
20 19
21 } // namespace 20 } // namespace
22 21
23 namespace upgrade_util { 22 namespace upgrade_util {
(...skipping 22 matching lines...) Expand all
46 base::File::Info exe_file_info; 45 base::File::Info exe_file_info;
47 if (!base::GetFileInfo(exe_file_path, &exe_file_info)) { 46 if (!base::GetFileInfo(exe_file_path, &exe_file_info)) {
48 LOG(WARNING) << "Failed to get FileInfo object for FILE_EXE - " 47 LOG(WARNING) << "Failed to get FileInfo object for FILE_EXE - "
49 << exe_file_path.value(); 48 << exe_file_path.value();
50 return saved_last_modified_time_of_exe; 49 return saved_last_modified_time_of_exe;
51 } 50 }
52 return exe_file_info.last_modified.ToDoubleT(); 51 return exe_file_info.last_modified.ToDoubleT();
53 } 52 }
54 53
55 } // namespace upgrade_util 54 } // namespace upgrade_util
OLDNEW
« no previous file with comments | « chrome/browser/extensions/updater/extension_downloader.cc ('k') | chrome/browser/media/webrtc_log_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698