| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 <map> | 5 #include <map> |
| 6 #include <string> | 6 #include <string> |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 #include "chrome/browser/ui/browser_list.h" | 48 #include "chrome/browser/ui/browser_list.h" |
| 49 #include "chrome/browser/ui/browser_window.h" | 49 #include "chrome/browser/ui/browser_window.h" |
| 50 #include "chrome/browser/ui/host_desktop.h" | 50 #include "chrome/browser/ui/host_desktop.h" |
| 51 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 51 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 52 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 52 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
| 53 #include "chrome/common/chrome_paths.h" | 53 #include "chrome/common/chrome_paths.h" |
| 54 #include "chrome/common/chrome_switches.h" | 54 #include "chrome/common/chrome_switches.h" |
| 55 #include "chromeos/chromeos_switches.h" | 55 #include "chromeos/chromeos_switches.h" |
| 56 #include "chromeos/dbus/cryptohome_client.h" | 56 #include "chromeos/dbus/cryptohome_client.h" |
| 57 #include "chromeos/dbus/dbus_method_call_status.h" | 57 #include "chromeos/dbus/dbus_method_call_status.h" |
| 58 #include "chromeos/dbus/fake_cryptohome_client.h" | |
| 59 #include "chromeos/dbus/fake_session_manager_client.h" | 58 #include "chromeos/dbus/fake_session_manager_client.h" |
| 60 #include "chromeos/dbus/session_manager_client.h" | 59 #include "chromeos/dbus/session_manager_client.h" |
| 61 #include "content/public/browser/web_contents.h" | 60 #include "content/public/browser/web_contents.h" |
| 62 #include "content/public/browser/web_ui.h" | 61 #include "content/public/browser/web_ui.h" |
| 63 #include "content/public/test/browser_test_utils.h" | 62 #include "content/public/test/browser_test_utils.h" |
| 64 #include "content/public/test/test_utils.h" | 63 #include "content/public/test/test_utils.h" |
| 65 #include "crypto/rsa_private_key.h" | 64 #include "crypto/rsa_private_key.h" |
| 66 #include "grit/chromium_strings.h" | 65 #include "grit/chromium_strings.h" |
| 67 #include "grit/generated_resources.h" | 66 #include "grit/generated_resources.h" |
| 68 #include "net/test/embedded_test_server/embedded_test_server.h" | 67 #include "net/test/embedded_test_server/embedded_test_server.h" |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 if (!IsSessionStarted()) { | 574 if (!IsSessionStarted()) { |
| 576 content::WindowedNotificationObserver(chrome::NOTIFICATION_SESSION_STARTED, | 575 content::WindowedNotificationObserver(chrome::NOTIFICATION_SESSION_STARTED, |
| 577 base::Bind(IsSessionStarted)).Wait(); | 576 base::Bind(IsSessionStarted)).Wait(); |
| 578 } | 577 } |
| 579 } | 578 } |
| 580 | 579 |
| 581 INSTANTIATE_TEST_CASE_P(TermsOfServiceTestInstance, | 580 INSTANTIATE_TEST_CASE_P(TermsOfServiceTestInstance, |
| 582 TermsOfServiceTest, testing::Bool()); | 581 TermsOfServiceTest, testing::Bool()); |
| 583 | 582 |
| 584 } // namespace policy | 583 } // namespace policy |
| OLD | NEW |