| 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());
|
| }
|
|
|