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

Unified Diff: sync/sessions/directory_type_debug_info_emitter.cc

Issue 271613006: sync: Populate debug counters for directory types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/sessions/directory_type_debug_info_emitter.cc
diff --git a/sync/sessions/directory_type_debug_info_emitter.cc b/sync/sessions/directory_type_debug_info_emitter.cc
index 9f557166ca3b5a7d8a6ebbf81f298c4a0111e696..031d0eb756017f2f75288bc7e96aab688100f61e 100644
--- a/sync/sessions/directory_type_debug_info_emitter.cc
+++ b/sync/sessions/directory_type_debug_info_emitter.cc
@@ -18,8 +18,12 @@ DirectoryTypeDebugInfoEmitter::DirectoryTypeDebugInfoEmitter(
type_(type),
type_debug_info_observers_(observers) {}
-DirectoryTypeDebugInfoEmitter::DirectoryTypeDebugInfoEmitter()
- : type_(UNSPECIFIED) {}
+DirectoryTypeDebugInfoEmitter::DirectoryTypeDebugInfoEmitter(
+ ModelType type,
+ ObserverList<TypeDebugInfoObserver>* observers)
+ : directory_(NULL),
+ type_(type),
+ type_debug_info_observers_(observers) {}
DirectoryTypeDebugInfoEmitter::~DirectoryTypeDebugInfoEmitter() {}
« sync/engine/conflict_resolver.h ('K') | « sync/sessions/directory_type_debug_info_emitter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698