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.cc54 const base::FilePath uptime_file = temp_dir.Append("uptime"); variable
57 uptime_file, uptime_seconds.c_str(), uptime_seconds.size()));
59 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.cc72 void SetUptimeFile(const base::FilePath& uptime_file);
242 const base::FilePath& uptime_file) {
243 uptime_file_ = uptime_file;
346 const base::FilePath uptime_file = temp_dir.Append("uptime"); local
347 task_runner_->SetUptimeFile(uptime_file);
348 ASSERT_FALSE(base::WriteFile(uptime_file, NULL, 0));
352 ASSERT_TRUE(PathService::Override(chromeos::FILE_UPTIME, uptime_file));
241 SetUptimeFile( const base::FilePath& uptime_file) argument

Completed in 94 milliseconds