1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_
6 #define SYNC_INTERNAL_API_PUBLIC_TEST_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_
10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "sync/internal_api/public/sync_manager_factory.h"
16 class SyncManagerFactoryForProfileSyncTest : public syncer::SyncManagerFactory {
18 SyncManagerFactoryForProfileSyncTest(base::Closure init_callback,
19 bool set_initial_sync_ended);
20 virtual ~SyncManagerFactoryForProfileSyncTest();
21 virtual scoped_ptr<syncer::SyncManager> CreateSyncManager(
22 std::string name) OVERRIDE;
24 base::Closure init_callback_;
25 bool set_initial_sync_ended_;
30 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_SYNC_MANAGER_FACTORY_FOR_PROFILE_SYNC_TEST_H_