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

Unified Diff: sync/internal_api/public/data_type_debug_info_listener.h

Issue 23866012: Send configuration stats together at the end of data type configuration so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/internal_api/debug_info_event_listener.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/data_type_debug_info_listener.h
diff --git a/sync/internal_api/public/data_type_debug_info_listener.h b/sync/internal_api/public/data_type_debug_info_listener.h
index 82d64598f2769879ea76d0be76a48922b90fc4b3..6395a0450a88e211043759adaa707f94005fa5e2 100644
--- a/sync/internal_api/public/data_type_debug_info_listener.h
+++ b/sync/internal_api/public/data_type_debug_info_listener.h
@@ -5,6 +5,8 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_DEBUG_INFO_LISTENER_H_
#define SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_DEBUG_INFO_LISTENER_H_
+#include <vector>
+
#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/data_type_association_stats.h"
@@ -38,12 +40,9 @@ struct SYNC_EXPORT DataTypeConfigurationStats {
// Interface for the sync internals to listen to external sync events.
class DataTypeDebugInfoListener {
public:
- // Notify the listener that configuration of one data type has completed.
- virtual void OnSingleDataTypeConfigureComplete(
- const DataTypeConfigurationStats& configuration_stats) = 0;
-
- // Notify the listener that configuration has completed and sync has begun.
- virtual void OnConfigureComplete() = 0;
+ // Notify the listener that configuration of data types has completed.
+ virtual void OnDataTypeConfigureComplete(
+ const std::vector<DataTypeConfigurationStats>& configuration_stats) = 0;
};
} // namespace syncer
« no previous file with comments | « sync/internal_api/debug_info_event_listener.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698