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/macros.h" | 10 #include "base/macros.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "chromeos/cryptohome/cryptohome_parameters.h" | 13 #include "chromeos/cryptohome/cryptohome_parameters.h" |
14 #include "chromeos/dbus/dbus_thread_manager.h" | 14 #include "chromeos/dbus/dbus_thread_manager.h" |
15 | 15 |
16 using chromeos::DBusThreadManager; | 16 using chromeos::DBusThreadManager; |
17 | 17 |
18 namespace cryptohome { | 18 namespace cryptohome { |
19 | 19 |
20 namespace { | 20 namespace { |
21 | 21 |
22 AsyncMethodCaller* g_async_method_caller = NULL; | 22 AsyncMethodCaller* g_async_method_caller = NULL; |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 g_async_method_caller = NULL; | 363 g_async_method_caller = NULL; |
364 VLOG(1) << "AsyncMethodCaller Shutdown completed"; | 364 VLOG(1) << "AsyncMethodCaller Shutdown completed"; |
365 } | 365 } |
366 | 366 |
367 // static | 367 // static |
368 AsyncMethodCaller* AsyncMethodCaller::GetInstance() { | 368 AsyncMethodCaller* AsyncMethodCaller::GetInstance() { |
369 return g_async_method_caller; | 369 return g_async_method_caller; |
370 } | 370 } |
371 | 371 |
372 } // namespace cryptohome | 372 } // namespace cryptohome |
OLD | NEW |