| 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/cryptohome/async_method_caller.h" | 5 #include "chromeos/cryptohome/async_method_caller.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
| 11 #include "chromeos/dbus/cryptohome_client.h" | |
| 12 #include "chromeos/dbus/dbus_thread_manager.h" | 11 #include "chromeos/dbus/dbus_thread_manager.h" |
| 13 | 12 |
| 14 using chromeos::DBusThreadManager; | 13 using chromeos::DBusThreadManager; |
| 15 | 14 |
| 16 namespace cryptohome { | 15 namespace cryptohome { |
| 17 | 16 |
| 18 namespace { | 17 namespace { |
| 19 | 18 |
| 20 AsyncMethodCaller* g_async_method_caller = NULL; | 19 AsyncMethodCaller* g_async_method_caller = NULL; |
| 21 | 20 |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 g_async_method_caller = NULL; | 388 g_async_method_caller = NULL; |
| 390 VLOG(1) << "AsyncMethodCaller Shutdown completed"; | 389 VLOG(1) << "AsyncMethodCaller Shutdown completed"; |
| 391 } | 390 } |
| 392 | 391 |
| 393 // static | 392 // static |
| 394 AsyncMethodCaller* AsyncMethodCaller::GetInstance() { | 393 AsyncMethodCaller* AsyncMethodCaller::GetInstance() { |
| 395 return g_async_method_caller; | 394 return g_async_method_caller; |
| 396 } | 395 } |
| 397 | 396 |
| 398 } // namespace cryptohome | 397 } // namespace cryptohome |
| OLD | NEW |