| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 COMPONENTS_PASSWORD_MANAGER_SYNC_BROWSER_PASSWORD_MODEL_WORKER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_SYNC_BROWSER_PASSWORD_MODEL_WORKER_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_SYNC_BROWSER_PASSWORD_MODEL_WORKER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_SYNC_BROWSER_PASSWORD_MODEL_WORKER_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "sync/internal_api/public/engine/model_safe_worker.h" | 12 #include "components/sync/engine/model_safe_worker.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class WaitableEvent; | 15 class WaitableEvent; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace password_manager { | 18 namespace password_manager { |
| 19 class PasswordStore; | 19 class PasswordStore; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace browser_sync { | 22 namespace browser_sync { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 53 // |password_store_| is used on password thread but released on UI thread. | 53 // |password_store_| is used on password thread but released on UI thread. |
| 54 // Protected by |password_store_lock_|. | 54 // Protected by |password_store_lock_|. |
| 55 base::Lock password_store_lock_; | 55 base::Lock password_store_lock_; |
| 56 scoped_refptr<password_manager::PasswordStore> password_store_; | 56 scoped_refptr<password_manager::PasswordStore> password_store_; |
| 57 DISALLOW_COPY_AND_ASSIGN(PasswordModelWorker); | 57 DISALLOW_COPY_AND_ASSIGN(PasswordModelWorker); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace browser_sync | 60 } // namespace browser_sync |
| 61 | 61 |
| 62 #endif // COMPONENTS_PASSWORD_MANAGER_SYNC_BROWSER_PASSWORD_MODEL_WORKER_H_ | 62 #endif // COMPONENTS_PASSWORD_MANAGER_SYNC_BROWSER_PASSWORD_MODEL_WORKER_H_ |
| OLD | NEW |