| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "sync/api/sync_error_factory.h" | 5 #include "sync/engine/sync_cycle_event.h" |
| 6 | 6 |
| 7 namespace syncer { | 7 namespace syncer { |
| 8 | 8 |
| 9 SyncErrorFactory::SyncErrorFactory() { | 9 SyncCycleEvent::SyncCycleEvent(EventCause cause) : what_happened(cause) { |
| 10 } | 10 } |
| 11 | 11 |
| 12 SyncErrorFactory::~SyncErrorFactory() { | 12 SyncCycleEvent::~SyncCycleEvent() {} |
| 13 } | |
| 14 | 13 |
| 15 } // namespace syncer | 14 } // namespace syncer |
| OLD | NEW |