| Index: chrome/browser/sync/test/engine/fake_model_worker.h
|
| diff --git a/chrome/browser/sync/test/engine/fake_model_worker.h b/chrome/browser/sync/test/engine/fake_model_worker.h
|
| deleted file mode 100644
|
| index e80a2cd25c2dea68445b265406653c499cd23c22..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/sync/test/engine/fake_model_worker.h
|
| +++ /dev/null
|
| @@ -1,43 +0,0 @@
|
| -// Copyright (c) 2012 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_TEST_ENGINE_FAKE_MODEL_WORKER_H_
|
| -#define CHROME_BROWSER_SYNC_TEST_ENGINE_FAKE_MODEL_WORKER_H_
|
| -#pragma once
|
| -
|
| -#include <vector>
|
| -
|
| -#include "base/basictypes.h"
|
| -#include "base/compiler_specific.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| -#include "chrome/browser/sync/engine/model_safe_worker.h"
|
| -#include "chrome/browser/sync/internal_api/includes/syncer_error.h"
|
| -
|
| -namespace browser_sync {
|
| -
|
| -// Fake implementation of ModelSafeWorker that does work on the
|
| -// current thread regardless of the group.
|
| -class FakeModelWorker : public ModelSafeWorker {
|
| - public:
|
| - explicit FakeModelWorker(ModelSafeGroup group);
|
| -
|
| - // ModelSafeWorker implementation.
|
| - virtual SyncerError DoWorkAndWaitUntilDone(
|
| - const WorkCallback& work) OVERRIDE;
|
| - virtual ModelSafeGroup GetModelSafeGroup() OVERRIDE;
|
| -
|
| - private:
|
| - virtual ~FakeModelWorker();
|
| -
|
| - base::NonThreadSafe non_thread_safe_;
|
| -
|
| - const ModelSafeGroup group_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(FakeModelWorker);
|
| -};
|
| -
|
| -} // namespace browser_sync
|
| -
|
| -#endif // CHROME_BROWSER_SYNC_TEST_ENGINE_FAKE_MODEL_WORKER_H_
|
| -
|
|
|