| 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 "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 5 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 8 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| 9 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
| 12 #include "base/path_service.h" | 15 #include "base/path_service.h" |
| 13 #include "base/prefs/scoped_user_pref_update.h" | 16 #include "base/prefs/scoped_user_pref_update.h" |
| 14 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
| 15 #include "base/values.h" | 18 #include "base/values.h" |
| 16 #include "chrome/browser/browser_process.h" | 19 #include "chrome/browser/browser_process.h" |
| 17 #include "chrome/browser/chromeos/app_mode/fake_cws.h" | 20 #include "chrome/browser/chromeos/app_mode/fake_cws.h" |
| 18 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h" | 21 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h" |
| 19 #include "chrome/browser/chromeos/ownership/fake_owner_settings_service.h" | 22 #include "chrome/browser/chromeos/ownership/fake_owner_settings_service.h" |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 manager()->GetConsumerKioskAutoLaunchStatus( | 712 manager()->GetConsumerKioskAutoLaunchStatus( |
| 710 base::Bind(&ConsumerKioskAutoLaunchStatusCheck, | 713 base::Bind(&ConsumerKioskAutoLaunchStatusCheck, |
| 711 status.get(), | 714 status.get(), |
| 712 runner3->QuitClosure())); | 715 runner3->QuitClosure())); |
| 713 runner3->Run(); | 716 runner3->Run(); |
| 714 EXPECT_EQ(*status.get(), | 717 EXPECT_EQ(*status.get(), |
| 715 KioskAppManager::CONSUMER_KIOSK_AUTO_LAUNCH_DISABLED); | 718 KioskAppManager::CONSUMER_KIOSK_AUTO_LAUNCH_DISABLED); |
| 716 } | 719 } |
| 717 | 720 |
| 718 } // namespace chromeos | 721 } // namespace chromeos |
| OLD | NEW |