| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ |
| 6 #define CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
| 16 #include "chrome/browser/history/history_types.h" | 16 #include "chrome/browser/history/history_types.h" |
| 17 #include "chrome/browser/sync/glue/model_associator.h" | 17 #include "chrome/browser/sync/glue/model_associator.h" |
| 18 #include "chrome/browser/sync/protocol/password_specifics.pb.h" | 18 #include "sync/protocol/password_specifics.pb.h" |
| 19 | 19 |
| 20 class MessageLoop; | 20 class MessageLoop; |
| 21 class PasswordStore; | 21 class PasswordStore; |
| 22 class ProfileSyncService; | 22 class ProfileSyncService; |
| 23 | 23 |
| 24 namespace webkit { | 24 namespace webkit { |
| 25 namespace forms { | 25 namespace forms { |
| 26 struct PasswordForm; | 26 struct PasswordForm; |
| 27 } | 27 } |
| 28 } | 28 } |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 PasswordToSyncIdMap id_map_; | 137 PasswordToSyncIdMap id_map_; |
| 138 SyncIdToPasswordMap id_map_inverse_; | 138 SyncIdToPasswordMap id_map_inverse_; |
| 139 | 139 |
| 140 DISALLOW_COPY_AND_ASSIGN(PasswordModelAssociator); | 140 DISALLOW_COPY_AND_ASSIGN(PasswordModelAssociator); |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 } // namespace browser_sync | 143 } // namespace browser_sync |
| 144 | 144 |
| 145 #endif // CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ | 145 #endif // CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ |
| OLD | NEW |