| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/file_util.h" | |
| 11 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/files/file_util.h" |
| 12 #include "base/files/scoped_temp_dir.h" | 12 #include "base/files/scoped_temp_dir.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/prefs/pref_service.h" | 15 #include "base/prefs/pref_service.h" |
| 16 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
| 17 #include "base/test/scoped_path_override.h" | 17 #include "base/test/scoped_path_override.h" |
| 18 #include "base/threading/sequenced_worker_pool.h" | 18 #include "base/threading/sequenced_worker_pool.h" |
| 19 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| 20 #include "chrome/browser/apps/app_browsertest_util.h" | 20 #include "chrome/browser/apps/app_browsertest_util.h" |
| 21 #include "chrome/browser/browser_process.h" | 21 #include "chrome/browser/browser_process.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 IN_PROC_BROWSER_TEST_F(KioskAppUpdateServiceTest, Periodic) { | 110 IN_PROC_BROWSER_TEST_F(KioskAppUpdateServiceTest, Periodic) { |
| 111 g_browser_process->local_state()->SetInteger( | 111 g_browser_process->local_state()->SetInteger( |
| 112 prefs::kUptimeLimit, base::TimeDelta::FromMinutes(30).InSeconds()); | 112 prefs::kUptimeLimit, base::TimeDelta::FromMinutes(30).InSeconds()); |
| 113 | 113 |
| 114 ExtensionTestMessageListener listener("periodic", false); | 114 ExtensionTestMessageListener listener("periodic", false); |
| 115 listener.WaitUntilSatisfied(); | 115 listener.WaitUntilSatisfied(); |
| 116 } | 116 } |
| 117 | 117 |
| 118 } // namespace chromeos | 118 } // namespace chromeos |
| OLD | NEW |