OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/single_thread_task_runner.h" |
12 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
13 #include "components/password_manager/core/browser/keychain_migration_status_mac
.h" | 14 #include "components/password_manager/core/browser/keychain_migration_status_mac
.h" |
14 #include "components/password_manager/core/browser/password_store.h" | 15 #include "components/password_manager/core/browser/password_store.h" |
15 #include "components/password_manager/core/common/password_manager_pref_names.h" | 16 #include "components/password_manager/core/common/password_manager_pref_names.h" |
16 #include "components/prefs/pref_member.h" | 17 #include "components/prefs/pref_member.h" |
17 | 18 |
18 namespace crypto { | 19 namespace crypto { |
19 class AppleKeychain; | 20 class AppleKeychain; |
20 } | 21 } |
21 | 22 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // them. If this is the case then Shutdown() flushes the tasks after stopping | 128 // them. If this is the case then Shutdown() flushes the tasks after stopping |
128 // the background thread. | 129 // the background thread. |
129 // After InitOnBackgroundThread is run once, the queue may not be modified on | 130 // After InitOnBackgroundThread is run once, the queue may not be modified on |
130 // the background thread any more. | 131 // the background thread any more. |
131 std::vector<base::Closure> pending_ui_tasks_; | 132 std::vector<base::Closure> pending_ui_tasks_; |
132 | 133 |
133 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac); | 134 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac); |
134 }; | 135 }; |
135 | 136 |
136 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ | 137 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ |
OLD | NEW |