| 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 "chromeos/dbus/session_manager_client.h" | 5 #include "chromeos/dbus/session_manager_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/file_util.h" | |
| 10 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
| 13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
| 14 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
| 15 #include "base/task_runner_util.h" | 15 #include "base/task_runner_util.h" |
| 16 #include "base/threading/worker_pool.h" | 16 #include "base/threading/worker_pool.h" |
| 17 #include "chromeos/chromeos_paths.h" | 17 #include "chromeos/chromeos_paths.h" |
| 18 #include "chromeos/dbus/blocking_method_caller.h" | 18 #include "chromeos/dbus/blocking_method_caller.h" |
| 19 #include "chromeos/dbus/cryptohome_client.h" | 19 #include "chromeos/dbus/cryptohome_client.h" |
| 20 #include "crypto/sha2.h" | 20 #include "crypto/sha2.h" |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 | 737 |
| 738 SessionManagerClient* SessionManagerClient::Create( | 738 SessionManagerClient* SessionManagerClient::Create( |
| 739 DBusClientImplementationType type) { | 739 DBusClientImplementationType type) { |
| 740 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) | 740 if (type == REAL_DBUS_CLIENT_IMPLEMENTATION) |
| 741 return new SessionManagerClientImpl(); | 741 return new SessionManagerClientImpl(); |
| 742 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); | 742 DCHECK_EQ(STUB_DBUS_CLIENT_IMPLEMENTATION, type); |
| 743 return new SessionManagerClientStubImpl(); | 743 return new SessionManagerClientStubImpl(); |
| 744 } | 744 } |
| 745 | 745 |
| 746 } // namespace chromeos | 746 } // namespace chromeos |
| OLD | NEW |