Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: chrome/browser/sync/engine/passive_model_worker.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/engine/nudge_source.cc ('k') | chrome/browser/sync/engine/passive_model_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/passive_model_worker.h
diff --git a/chrome/browser/sync/engine/passive_model_worker.h b/chrome/browser/sync/engine/passive_model_worker.h
deleted file mode 100644
index 5a35b0a2b1683339f996fa99316f153e6f9000ad..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/engine/passive_model_worker.h
+++ /dev/null
@@ -1,40 +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_ENGINE_PASSIVE_MODEL_WORKER_H_
-#define CHROME_BROWSER_SYNC_ENGINE_PASSIVE_MODEL_WORKER_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "chrome/browser/sync/engine/model_safe_worker.h"
-#include "chrome/browser/sync/internal_api/includes/syncer_error.h"
-
-class MessageLoop;
-
-namespace browser_sync {
-
-// Implementation of ModelSafeWorker for passive types. All work is
-// done on the same thread DoWorkAndWaitUntilDone (i.e., the sync
-// thread).
-class PassiveModelWorker : public ModelSafeWorker {
- public:
- explicit PassiveModelWorker(const MessageLoop* sync_loop);
-
- // ModelSafeWorker implementation. Called on the sync thread.
- virtual SyncerError DoWorkAndWaitUntilDone(
- const WorkCallback& work) OVERRIDE;
- virtual ModelSafeGroup GetModelSafeGroup() OVERRIDE;
-
- private:
- virtual ~PassiveModelWorker();
-
- const MessageLoop* const sync_loop_;
-
- DISALLOW_COPY_AND_ASSIGN(PassiveModelWorker);
-};
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_ENGINE_PASSIVE_MODEL_WORKER_H_
« no previous file with comments | « chrome/browser/sync/engine/nudge_source.cc ('k') | chrome/browser/sync/engine/passive_model_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698