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

Unified Diff: components/sync/driver/non_ui_model_type_controller.h

Issue 2384153004: [Sync] Merge NBDTC and subclasses into ModelTypeController. (Closed)
Patch Set: Fix bad rebase. Created 4 years, 2 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
Index: components/sync/driver/non_ui_model_type_controller.h
diff --git a/components/sync/driver/non_ui_model_type_controller.h b/components/sync/driver/non_ui_model_type_controller.h
deleted file mode 100644
index 6e4336d8e27df8c5f41541bac4a6fd10f0eebedb..0000000000000000000000000000000000000000
--- a/components/sync/driver/non_ui_model_type_controller.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2016 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 COMPONENTS_SYNC_DRIVER_NON_UI_MODEL_TYPE_CONTROLLER_H_
-#define COMPONENTS_SYNC_DRIVER_NON_UI_MODEL_TYPE_CONTROLLER_H_
-
-#include "components/sync/driver/non_blocking_data_type_controller.h"
-
-namespace syncer {
-
-class SyncClient;
-
-// Implementation for Unified Sync and Storage datatypes whose model thread is
-// not the UI thread.
-// Derived types must implement the following methods:
-// - RunOnModelThread
-class NonUIModelTypeController : public NonBlockingDataTypeController {
- public:
- // |dump_stack| is called when an unrecoverable error occurs.
- NonUIModelTypeController(ModelType type,
- const base::Closure& dump_stack,
- SyncClient* sync_client);
- ~NonUIModelTypeController() override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(NonUIModelTypeController);
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_DRIVER_NON_UI_MODEL_TYPE_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698