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

Side by Side Diff: components/sync/core/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, 4 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 unified diff | Download patch
OLDNEW
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 #ifndef SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_DEBUG_INFO_LISTENER_H_ 5 #ifndef COMPONENTS_SYNC_CORE_DATA_TYPE_DEBUG_INFO_LISTENER_H_
6 #define SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_DEBUG_INFO_LISTENER_H_ 6 #define COMPONENTS_SYNC_CORE_DATA_TYPE_DEBUG_INFO_LISTENER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "sync/internal_api/public/base/model_type.h" 10 #include "components/sync/base/model_type.h"
11 #include "sync/internal_api/public/data_type_association_stats.h" 11 #include "components/sync/core/data_type_association_stats.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 14
15 struct SYNC_EXPORT DataTypeConfigurationStats { 15 struct SYNC_EXPORT DataTypeConfigurationStats {
16 DataTypeConfigurationStats(); 16 DataTypeConfigurationStats();
17 DataTypeConfigurationStats(const DataTypeConfigurationStats& other); 17 DataTypeConfigurationStats(const DataTypeConfigurationStats& other);
18 ~DataTypeConfigurationStats(); 18 ~DataTypeConfigurationStats();
19 19
20 // The datatype that was configured. 20 // The datatype that was configured.
21 ModelType model_type; 21 ModelType model_type;
(...skipping 19 matching lines...) Expand all
41 // Interface for the sync internals to listen to external sync events. 41 // Interface for the sync internals to listen to external sync events.
42 class DataTypeDebugInfoListener { 42 class DataTypeDebugInfoListener {
43 public: 43 public:
44 // Notify the listener that configuration of data types has completed. 44 // Notify the listener that configuration of data types has completed.
45 virtual void OnDataTypeConfigureComplete( 45 virtual void OnDataTypeConfigureComplete(
46 const std::vector<DataTypeConfigurationStats>& configuration_stats) = 0; 46 const std::vector<DataTypeConfigurationStats>& configuration_stats) = 0;
47 }; 47 };
48 48
49 } // namespace syncer 49 } // namespace syncer
50 50
51 #endif // SYNC_INTERNAL_API_PUBLIC_DATA_TYPE_DEBUG_INFO_LISTENER_H_ 51 #endif // COMPONENTS_SYNC_CORE_DATA_TYPE_DEBUG_INFO_LISTENER_H_
OLDNEW
« no previous file with comments | « components/sync/core/data_type_association_stats.cc ('k') | components/sync/core/data_type_debug_info_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698