Searched refs:uptime_file (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_app_update_service_browsertest.cc53 const base::FilePath uptime_file = temp_dir.Append("uptime"); variable
56 uptime_file, uptime_seconds.c_str(), uptime_seconds.size()));
58 new base::ScopedPathOverride(chromeos::FILE_UPTIME, uptime_file));
/external/chromium_org/chrome/browser/chromeos/system/
H A Dautomatic_reboot_manager.cc83 base::FilePath uptime_file; local
84 CHECK(PathService::Get(chromeos::FILE_UPTIME, &uptime_file));
90 ReadTimeDeltaFromFile(uptime_file),
106 base::FilePath uptime_file;
107 CHECK(PathService::Get(chromeos::FILE_UPTIME, &uptime_file));
108 const base::TimeDelta uptime = ReadTimeDeltaFromFile(uptime_file);
H A Dautomatic_reboot_manager_unittest.cc73 void SetUptimeFile(const base::FilePath& uptime_file);
243 const base::FilePath& uptime_file) {
244 uptime_file_ = uptime_file;
347 const base::FilePath uptime_file = temp_dir.Append("uptime"); local
348 task_runner_->SetUptimeFile(uptime_file);
349 ASSERT_FALSE(base::WriteFile(uptime_file, NULL, 0));
353 ASSERT_TRUE(PathService::Override(chromeos::FILE_UPTIME, uptime_file));
242 SetUptimeFile( const base::FilePath& uptime_file) argument

Completed in 675 milliseconds