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

Unified Diff: components/sync_driver/directory_data_type_controller.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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/directory_data_type_controller.cc
diff --git a/components/sync_driver/directory_data_type_controller.cc b/components/sync_driver/directory_data_type_controller.cc
deleted file mode 100644
index 9fa22b1f71b35ae3f80df56c01e1b8a16cf95269..0000000000000000000000000000000000000000
--- a/components/sync_driver/directory_data_type_controller.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2015 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.
-
-#include "components/sync_driver/directory_data_type_controller.h"
-
-#include "components/sync_driver/backend_data_type_configurer.h"
-
-namespace sync_driver {
-
-DirectoryDataTypeController::DirectoryDataTypeController(
- const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
- const base::Closure& error_callback)
- : DataTypeController(ui_thread, error_callback) {}
-
-DirectoryDataTypeController::~DirectoryDataTypeController() {}
-
-bool DirectoryDataTypeController::ShouldLoadModelBeforeConfigure() const {
- // Directory datatypes don't require loading models before configure. Their
- // progress markers are stored in directory and can be extracted without
- // datatype participation.
- return false;
-}
-
-void DirectoryDataTypeController::RegisterWithBackend(
- BackendDataTypeConfigurer* configurer) {}
-
-void DirectoryDataTypeController::ActivateDataType(
- BackendDataTypeConfigurer* configurer) {
- // Tell the backend about the change processor for this type so it can
- // begin routing changes to it.
- configurer->ActivateDirectoryDataType(type(), model_safe_group(),
- GetChangeProcessor());
-}
-
-void DirectoryDataTypeController::DeactivateDataType(
- BackendDataTypeConfigurer* configurer) {
- configurer->DeactivateDirectoryDataType(type());
-}
-
-} // namespace sync_driver
« no previous file with comments | « components/sync_driver/directory_data_type_controller.h ('k') | components/sync_driver/fake_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698