// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H__ #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H__ #pragma once #include #include "base/callback.h" #include "chrome/browser/sync/glue/sync_backend_host.h" #include "chrome/browser/sync/profile_sync_test_util.h" #include "content/common/content_notification_types.h" #include "testing/gmock/include/gmock/gmock.h" namespace browser_sync { class SyncBackendHostMock : public SyncBackendHost { public: SyncBackendHostMock(); virtual ~SyncBackendHostMock(); MOCK_METHOD5(ConfigureDataTypes, void(const DataTypeController::TypeMap&, const std::set&, sync_api::ConfigureReason, base::Callback, bool)); MOCK_METHOD0(StartSyncingWithServer, void()); }; } // namespace browser_sync #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H__