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

Unified Diff: components/sync/core/data_type_association_stats.h

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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 | « components/sync/core/connection_status.h ('k') | components/sync/core/data_type_association_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/data_type_association_stats.h
diff --git a/components/sync/core/data_type_association_stats.h b/components/sync/core/data_type_association_stats.h
deleted file mode 100644
index a375c02d2137fc5b0adce677eca6b8fb0c339cbd..0000000000000000000000000000000000000000
--- a/components/sync/core/data_type_association_stats.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 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 COMPONENTS_SYNC_CORE_DATA_TYPE_ASSOCIATION_STATS_H_
-#define COMPONENTS_SYNC_CORE_DATA_TYPE_ASSOCIATION_STATS_H_
-
-#include <stdint.h>
-
-#include "base/time/time.h"
-
-namespace syncer {
-
-// Container for datatype association results.
-struct DataTypeAssociationStats {
- DataTypeAssociationStats();
- DataTypeAssociationStats(const DataTypeAssociationStats& other);
- ~DataTypeAssociationStats();
-
- // The state of the world before association.
- int num_local_items_before_association;
- int num_sync_items_before_association;
-
- // The state of the world after association.
- int num_local_items_after_association;
- int num_sync_items_after_association;
-
- // The changes that took place during association. In a correctly working
- // system these should be the deltas between before and after.
- int num_local_items_added;
- int num_local_items_deleted;
- int num_local_items_modified;
- int num_sync_items_added;
- int num_sync_items_deleted;
- int num_sync_items_modified;
-
- // Model versions before association.
- int64_t local_version_pre_association;
- int64_t sync_version_pre_association;
-
- // Whether a datatype unrecoverable error was encountered during association.
- bool had_error;
-
- // Waiting time within association manager for loading local models and
- // associating other types.
- base::TimeDelta association_wait_time;
-
- // Time spent on association.
- base::TimeDelta association_time;
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_CORE_DATA_TYPE_ASSOCIATION_STATS_H_
« no previous file with comments | « components/sync/core/connection_status.h ('k') | components/sync/core/data_type_association_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698