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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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
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
deleted file mode 100644
index 9101bdd79db0461382894828fb5fa1dfa76569b7..0000000000000000000000000000000000000000
--- a/sync/internal_api/public/data_type_debug_info_listener.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#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"
-
-namespace syncer {
-
-struct SYNC_EXPORT DataTypeConfigurationStats {
- DataTypeConfigurationStats();
- DataTypeConfigurationStats(const DataTypeConfigurationStats& other);
- ~DataTypeConfigurationStats();
-
- // The datatype that was configured.
- ModelType model_type;
-
- // Waiting time before downloading starts.
- base::TimeDelta download_wait_time;
-
- // Time spent on downloading data for first-sync data types.
- base::TimeDelta download_time;
-
- // Waiting time for association of higher priority types to finish before
- // asking association manager to associate.
- base::TimeDelta association_wait_time_for_high_priority;
-
- // Types configured before this type.
- ModelTypeSet high_priority_types_configured_before;
- ModelTypeSet same_priority_types_configured_before;
-
- // Association stats.
- DataTypeAssociationStats association_stats;
-};
-
-// Interface for the sync internals to listen to external sync events.
-class DataTypeDebugInfoListener {
- public:
- // Notify the listener that configuration of data types has completed.
- virtual void OnDataTypeConfigureComplete(
- const std::vector<DataTypeConfigurationStats>& configuration_stats) = 0;
-};
-
-} // namespace syncer
-
-#endif // SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_DEBUG_INFO_LISTENER_H_
« no previous file with comments | « sync/internal_api/public/data_type_association_stats.cc ('k') | sync/internal_api/public/data_type_debug_info_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698