| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/sync/glue/password_model_worker.h" | 5 #include "chrome/browser/sync/glue/password_model_worker.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
| 9 #include "base/task.h" | 9 #include "base/task.h" |
| 10 #include "base/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
| 11 #include "chrome/browser/password_manager/password_store.h" | 11 #include "chrome/browser/password_manager/password_store.h" |
| 12 | 12 |
| 13 using base::WaitableEvent; | 13 using base::WaitableEvent; |
| 14 | 14 |
| 15 namespace browser_sync { | 15 namespace browser_sync { |
| 16 | 16 |
| 17 PasswordModelWorker::PasswordModelWorker(PasswordStore* password_store) | 17 PasswordModelWorker::PasswordModelWorker(PasswordStore* password_store) |
| 18 : password_store_(password_store) { | 18 : password_store_(password_store) { |
| 19 DCHECK(password_store); | 19 DCHECK(password_store); |
| 20 } | 20 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 ModelSafeGroup PasswordModelWorker::GetModelSafeGroup() { | 38 ModelSafeGroup PasswordModelWorker::GetModelSafeGroup() { |
| 39 return GROUP_PASSWORD; | 39 return GROUP_PASSWORD; |
| 40 } | 40 } |
| 41 | 41 |
| 42 bool PasswordModelWorker::CurrentThreadIsWorkThread() { | 42 bool PasswordModelWorker::CurrentThreadIsWorkThread() { |
| 43 // TODO(ncarter): How to determine this? | 43 // TODO(ncarter): How to determine this? |
| 44 return true; | 44 return true; |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace browser_sync | 47 } // namespace browser_sync |
| OLD | NEW |