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/prefs/pref_member.h" | 12 #include "base/prefs/pref_member.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 | 17 |
17 namespace crypto { | 18 namespace crypto { |
18 class AppleKeychain; | 19 class AppleKeychain; |
19 } | 20 } |
20 | 21 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // them. If this is the case then Shutdown() flushes the tasks after stopping | 120 // them. If this is the case then Shutdown() flushes the tasks after stopping |
120 // the background thread. | 121 // the background thread. |
121 // After InitOnBackgroundThread is run once, the queue may not be modified on | 122 // After InitOnBackgroundThread is run once, the queue may not be modified on |
122 // the background thread any more. | 123 // the background thread any more. |
123 std::vector<base::Closure> pending_ui_tasks_; | 124 std::vector<base::Closure> pending_ui_tasks_; |
124 | 125 |
125 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac); | 126 DISALLOW_COPY_AND_ASSIGN(PasswordStoreProxyMac); |
126 }; | 127 }; |
127 | 128 |
128 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ | 129 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_PROXY_MAC_H_ |
OLD | NEW |