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/cryptohome/async_method_caller.h" | 5 #include "chrome/browser/chromeos/cryptohome/async_method_caller.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/message_loop_proxy.h" | 10 #include "base/message_loop_proxy.h" |
11 #include "chrome/browser/chromeos/dbus/cryptohome_client.h" | 11 #include "chromeos/dbus/cryptohome_client.h" |
12 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | 12 #include "chromeos/dbus/dbus_thread_manager.h" |
13 | 13 |
14 using chromeos::DBusThreadManager; | 14 using chromeos::DBusThreadManager; |
15 | 15 |
16 namespace cryptohome { | 16 namespace cryptohome { |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
20 AsyncMethodCaller* g_async_method_caller = NULL; | 20 AsyncMethodCaller* g_async_method_caller = NULL; |
21 | 21 |
22 // The implementation of AsyncMethodCaller | 22 // The implementation of AsyncMethodCaller |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 g_async_method_caller = NULL; | 174 g_async_method_caller = NULL; |
175 VLOG(1) << "AsyncMethodCaller Shutdown completed"; | 175 VLOG(1) << "AsyncMethodCaller Shutdown completed"; |
176 } | 176 } |
177 | 177 |
178 // static | 178 // static |
179 AsyncMethodCaller* AsyncMethodCaller::GetInstance() { | 179 AsyncMethodCaller* AsyncMethodCaller::GetInstance() { |
180 return g_async_method_caller; | 180 return g_async_method_caller; |
181 } | 181 } |
182 | 182 |
183 } // namespace cryptohome | 183 } // namespace cryptohome |
OLD | NEW |