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

Unified Diff: components/sync/sessions/update_counters.h

Issue 2258873003: [Sync] Move sessions/ to engine/cycle/ and rename things to match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/sessions/type_debug_info_observer.cc ('k') | components/sync/sessions/update_counters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/sessions/update_counters.h
diff --git a/components/sync/sessions/update_counters.h b/components/sync/sessions/update_counters.h
deleted file mode 100644
index 1d7324825ad149580e18593e00711b3abe49287a..0000000000000000000000000000000000000000
--- a/components/sync/sessions/update_counters.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 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_SESSIONS_UPDATE_COUNTERS_H_
-#define COMPONENTS_SYNC_SESSIONS_UPDATE_COUNTERS_H_
-
-#include <memory>
-#include <string>
-
-#include "base/values.h"
-
-namespace syncer {
-
-// A class to maintain counts related to the update requests and responses for
-// a particular sync type.
-struct UpdateCounters {
- UpdateCounters();
- ~UpdateCounters();
-
- std::unique_ptr<base::DictionaryValue> ToValue() const;
- std::string ToString() const;
-
- int num_updates_received;
- int num_reflected_updates_received;
- int num_tombstone_updates_received;
-
- int num_updates_applied;
- int num_hierarchy_conflict_application_failures;
- int num_encryption_conflict_application_failures;
-
- int num_server_overwrites;
- int num_local_overwrites;
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_SESSIONS_UPDATE_COUNTERS_H_
« no previous file with comments | « components/sync/sessions/type_debug_info_observer.cc ('k') | components/sync/sessions/update_counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698