| 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_change_processor.h" | 5 #include "chrome/browser/sync/glue/password_change_processor.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/password_manager/password_store.h" | 9 #include "chrome/browser/password_manager/password_store.h" |
| 10 #include "chrome/browser/password_manager/password_store_change.h" | 10 #include "chrome/browser/password_manager/password_store_change.h" |
| 11 #include "chrome/browser/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
| 12 #include "chrome/browser/sync/glue/password_model_associator.h" | 12 #include "chrome/browser/sync/glue/password_model_associator.h" |
| 13 #include "chrome/browser/sync/profile_sync_service.h" | 13 #include "chrome/browser/sync/profile_sync_service.h" |
| 14 #include "chrome/browser/sync/protocol/password_specifics.pb.h" | 14 #include "chrome/browser/sync/protocol/password_specifics.pb.h" |
| 15 #include "chrome/common/notification_service.h" | 15 #include "chrome/common/notification_service.h" |
| 16 #include "chrome/common/notification_type.h" | 16 #include "chrome/common/notification_type.h" |
| 17 #include "webkit/glue/password_form.h" | 17 #include "webkit/glue/password_form.h" |
| 18 | 18 |
| 19 namespace browser_sync { | 19 namespace browser_sync { |
| 20 | 20 |
| 21 PasswordChangeProcessor::PasswordChangeProcessor( | 21 PasswordChangeProcessor::PasswordChangeProcessor( |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 } | 213 } |
| 214 | 214 |
| 215 void PasswordChangeProcessor::StopObserving() { | 215 void PasswordChangeProcessor::StopObserving() { |
| 216 DCHECK(expected_loop_ == MessageLoop::current()); | 216 DCHECK(expected_loop_ == MessageLoop::current()); |
| 217 notification_registrar_.Remove(this, | 217 notification_registrar_.Remove(this, |
| 218 NotificationType::LOGINS_CHANGED, | 218 NotificationType::LOGINS_CHANGED, |
| 219 Source<PasswordStore>(password_store_)); | 219 Source<PasswordStore>(password_store_)); |
| 220 } | 220 } |
| 221 | 221 |
| 222 } // namespace browser_sync | 222 } // namespace browser_sync |
| OLD | NEW |