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

Unified Diff: components/sync/driver/sync_error_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
« no previous file with comments | « components/sync/driver/sync_error_controller.h ('k') | components/sync/driver/sync_frontend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/sync_error_controller.cc
diff --git a/components/sync_driver/sync_error_controller.cc b/components/sync/driver/sync_error_controller.cc
similarity index 73%
rename from components/sync_driver/sync_error_controller.cc
rename to components/sync/driver/sync_error_controller.cc
index 48c9ee42e9ab4cce91dcc97a40c8e5a1404fce33..2badb4eeed00c60de6472064b6b970c7a506e4a3 100644
--- a/components/sync_driver/sync_error_controller.cc
+++ b/components/sync/driver/sync_error_controller.cc
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/sync_driver/sync_error_controller.h"
+#include "components/sync/driver/sync_error_controller.h"
-#include "components/sync_driver/sync_service.h"
+#include "components/sync/driver/sync_service.h"
SyncErrorController::SyncErrorController(sync_driver::SyncService* service)
: service_(service) {
DCHECK(service_);
}
-SyncErrorController::~SyncErrorController() {
-}
+SyncErrorController::~SyncErrorController() {}
bool SyncErrorController::HasError() {
return service_->IsFirstSetupComplete() && service_->IsPassphraseRequired() &&
@@ -28,7 +27,5 @@ void SyncErrorController::RemoveObserver(Observer* observer) {
}
void SyncErrorController::OnStateChanged() {
- FOR_EACH_OBSERVER(Observer,
- observer_list_,
- OnErrorChanged());
+ FOR_EACH_OBSERVER(Observer, observer_list_, OnErrorChanged());
}
« no previous file with comments | « components/sync/driver/sync_error_controller.h ('k') | components/sync/driver/sync_frontend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698