| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/login/signed_settings.h" | 5 #include "chrome/browser/chromeos/settings/signed_settings.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/chromeos/cros/cros_library.h" | 10 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 11 #include "chrome/browser/chromeos/cros_settings_names.h" | 11 #include "chrome/browser/chromeos/settings/cros_settings_names.h" |
| 12 #include "chrome/browser/chromeos/login/mock_owner_key_utils.h" | 12 #include "chrome/browser/chromeos/settings/mock_owner_key_utils.h" |
| 13 #include "chrome/browser/chromeos/login/mock_ownership_service.h" | 13 #include "chrome/browser/chromeos/settings/mock_ownership_service.h" |
| 14 #include "chrome/browser/chromeos/login/owner_manager_unittest.h" | 14 #include "chrome/browser/chromeos/settings/owner_manager_unittest.h" |
| 15 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" | 15 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" |
| 16 #include "chrome/browser/policy/proto/device_management_backend.pb.h" | 16 #include "chrome/browser/policy/proto/device_management_backend.pb.h" |
| 17 #include "chromeos/dbus/mock_dbus_thread_manager.h" | 17 #include "chromeos/dbus/mock_dbus_thread_manager.h" |
| 18 #include "chromeos/dbus/mock_session_manager_client.h" | 18 #include "chromeos/dbus/mock_session_manager_client.h" |
| 19 #include "content/public/test/test_browser_thread.h" | 19 #include "content/public/test/test_browser_thread.h" |
| 20 #include "testing/gmock/include/gmock/gmock.h" | 20 #include "testing/gmock/include/gmock/gmock.h" |
| 21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 22 | 22 |
| 23 using ::testing::A; | 23 using ::testing::A; |
| 24 using ::testing::AnyNumber; | 24 using ::testing::AnyNumber; |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 .Times(1); | 389 .Times(1); |
| 390 | 390 |
| 391 s->Execute(); | 391 s->Execute(); |
| 392 message_loop_.RunAllPending(); | 392 message_loop_.RunAllPending(); |
| 393 | 393 |
| 394 s->OnKeyOpComplete(OwnerManager::OPERATION_FAILED, std::vector<uint8>()); | 394 s->OnKeyOpComplete(OwnerManager::OPERATION_FAILED, std::vector<uint8>()); |
| 395 message_loop_.RunAllPending(); | 395 message_loop_.RunAllPending(); |
| 396 } | 396 } |
| 397 | 397 |
| 398 } // namespace chromeos | 398 } // namespace chromeos |
| OLD | NEW |