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

Unified Diff: sync/engine/directory_type_debug_info_emitter.h

Issue 254473008: sync: Introduce classes for per-type counters (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 6 years, 8 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 | « no previous file | sync/engine/directory_type_debug_info_emitter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/directory_type_debug_info_emitter.h
diff --git a/sync/engine/directory_type_debug_info_emitter.h b/sync/engine/directory_type_debug_info_emitter.h
deleted file mode 100644
index d2247ddf5daada84834b9730da9de495505b6dc2..0000000000000000000000000000000000000000
--- a/sync/engine/directory_type_debug_info_emitter.h
+++ /dev/null
@@ -1,34 +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 SYNC_ENGINE_DIRECTORY_TYPE_DEBUG_INFO_EMITTER_H_
-#define SYNC_ENGINE_DIRECTORY_TYPE_DEBUG_INFO_EMITTER_H_
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/values.h"
-#include "sync/syncable/directory.h"
-
-namespace syncer {
-
-// Supports debugging requests for a certain directory type.
-class DirectoryTypeDebugInfoEmitter {
- public:
- DirectoryTypeDebugInfoEmitter(syncable::Directory* directory,
- syncer::ModelType type);
- virtual ~DirectoryTypeDebugInfoEmitter();
-
- // Returns a ListValue representation of all known nodes of this type.
- scoped_ptr<base::ListValue> GetAllNodes();
-
- private:
- syncable::Directory* directory_;
- ModelType type_;
-
- DISALLOW_COPY_AND_ASSIGN(DirectoryTypeDebugInfoEmitter);
-};
-
-} // namespace syncer
-
-#endif // SYNC_ENGINE_DIRECTORY_TYPE_DEBUG_INFO_EMITTER_H_
« no previous file with comments | « no previous file | sync/engine/directory_type_debug_info_emitter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698