| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_helper.h" | 5 #include "chrome/browser/chromeos/login/signed_settings_helper.h" |
| 6 | 6 |
| 7 #include "base/message_loop.h" |
| 7 #include "chrome/browser/chromeos/cros/cros_library.h" | 8 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 8 #include "chrome/browser/chromeos/cros_settings_names.h" | 9 #include "chrome/browser/chromeos/cros_settings_names.h" |
| 9 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | 10 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" |
| 10 #include "chrome/browser/chromeos/login/mock_ownership_service.h" | 11 #include "chrome/browser/chromeos/login/mock_ownership_service.h" |
| 11 #include "chrome/browser/chromeos/login/owner_manager.h" | 12 #include "chrome/browser/chromeos/login/owner_manager.h" |
| 12 #include "chrome/browser/chromeos/login/signed_settings.h" | 13 #include "chrome/browser/chromeos/login/signed_settings.h" |
| 13 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" | 14 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" |
| 14 #include "chrome/browser/policy/proto/device_management_backend.pb.h" | 15 #include "chrome/browser/policy/proto/device_management_backend.pb.h" |
| 15 #include "content/test/test_browser_thread.h" | 16 #include "content/test/test_browser_thread.h" |
| 16 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 SignedSettingsHelper::Get()->CancelCallback(&cb_to_be_canceled); | 217 SignedSettingsHelper::Get()->CancelCallback(&cb_to_be_canceled); |
| 217 | 218 |
| 218 SignedSettingsHelper::Get()->StartStorePropertyOp(fake_prop_, fake_value_, | 219 SignedSettingsHelper::Get()->StartStorePropertyOp(fake_prop_, fake_value_, |
| 219 &cb); | 220 &cb); |
| 220 SignedSettingsHelper::Get()->StartRetrieveProperty(fake_prop_, &cb); | 221 SignedSettingsHelper::Get()->StartRetrieveProperty(fake_prop_, &cb); |
| 221 | 222 |
| 222 message_loop_.Run(); | 223 message_loop_.Run(); |
| 223 } | 224 } |
| 224 | 225 |
| 225 } // namespace chromeos | 226 } // namespace chromeos |
| OLD | NEW |