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

Unified Diff: sync/engine/sync_cycle_event.cc

Issue 152013003: Split up SyncEngineEventListener callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more forward declaration Created 6 years, 10 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 | « sync/engine/sync_cycle_event.h ('k') | sync/engine/sync_engine_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_cycle_event.cc
diff --git a/sync/api/sync_error_factory.cc b/sync/engine/sync_cycle_event.cc
similarity index 58%
copy from sync/api/sync_error_factory.cc
copy to sync/engine/sync_cycle_event.cc
index 11888fff8a025d9450f9e83ea2e8721adae7d020..b373962bc59ea1285d6382ef268d8bcd46d33728 100644
--- a/sync/api/sync_error_factory.cc
+++ b/sync/engine/sync_cycle_event.cc
@@ -2,14 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/api/sync_error_factory.h"
+#include "sync/engine/sync_cycle_event.h"
namespace syncer {
-SyncErrorFactory::SyncErrorFactory() {
+SyncCycleEvent::SyncCycleEvent(EventCause cause) : what_happened(cause) {
}
-SyncErrorFactory::~SyncErrorFactory() {
-}
+SyncCycleEvent::~SyncCycleEvent() {}
} // namespace syncer
« no previous file with comments | « sync/engine/sync_cycle_event.h ('k') | sync/engine/sync_engine_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698