Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / components / password_manager / core / browser / password_syncable_service.h
index c99ce92..b70ea1f 100644 (file)
@@ -30,13 +30,15 @@ namespace syncer {
 class SyncErrorFactory;
 }
 
-class PasswordStore;
+namespace password_manager {
+
+class PasswordStoreSync;
 
 class PasswordSyncableService : public syncer::SyncableService,
                                 public base::NonThreadSafe {
  public:
   // |PasswordSyncableService| is owned by |PasswordStore|.
-  explicit PasswordSyncableService(PasswordStore* password_store);
+  explicit PasswordSyncableService(PasswordStoreSync* password_store);
   virtual ~PasswordSyncableService();
 
   // syncer::SyncableServiceImplementations
@@ -105,7 +107,7 @@ class PasswordSyncableService : public syncer::SyncableService,
   scoped_ptr<syncer::SyncChangeProcessor> sync_processor_;
 
   // The password store that adds/updates/deletes password entries.
-  PasswordStore* const password_store_;
+  PasswordStoreSync* const password_store_;
 
   // A signal to start sync as soon as possible.
   syncer::SyncableService::StartSyncFlare flare_;
@@ -127,4 +129,6 @@ void PasswordFromSpecifics(const sync_pb::PasswordSpecificsData& password,
 // |password| entry.
 std::string MakePasswordSyncTag(const sync_pb::PasswordSpecificsData& password);
 
+}  // namespace password_manager
+
 #endif  // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_SYNCABLE_SERVICE_H__