| 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/dbus/cryptohome_client.h" | 5 #include "chromeos/dbus/cryptohome_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/chromeos/chromeos_version.h" | 8 #include "base/chromeos/chromeos_version.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/synchronization/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
| 11 #include "dbus/bus.h" | 11 #include "dbus/bus.h" |
| 12 #include "dbus/message.h" | 12 #include "dbus/message.h" |
| 13 #include "dbus/object_path.h" | 13 #include "dbus/object_path.h" |
| 14 #include "dbus/object_proxy.h" | 14 #include "dbus/object_proxy.h" |
| 15 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 | 656 |
| 657 // static | 657 // static |
| 658 CryptohomeClient* CryptohomeClient::Create(dbus::Bus* bus) { | 658 CryptohomeClient* CryptohomeClient::Create(dbus::Bus* bus) { |
| 659 if (base::chromeos::IsRunningOnChromeOS()) | 659 if (base::chromeos::IsRunningOnChromeOS()) |
| 660 return new CryptohomeClientImpl(bus); | 660 return new CryptohomeClientImpl(bus); |
| 661 else | 661 else |
| 662 return new CryptohomeClientStubImpl(); | 662 return new CryptohomeClientStubImpl(); |
| 663 } | 663 } |
| 664 | 664 |
| 665 } // namespace chromeos | 665 } // namespace chromeos |
| OLD | NEW |