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

Unified Diff: sync/engine/directory_update_handler.h

Issue 260613002: sync: Expose DirectoryDebugInfoEmitters in engine (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment 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 | « sync/engine/directory_commit_contributor.cc ('k') | sync/engine/directory_update_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/directory_update_handler.h
diff --git a/sync/engine/directory_update_handler.h b/sync/engine/directory_update_handler.h
index ef5052dee60e286ae67844aeacb34ba4a8441580..73c18a01dfff04bc841343d3b16fff8bf3278ce1 100644
--- a/sync/engine/directory_update_handler.h
+++ b/sync/engine/directory_update_handler.h
@@ -32,6 +32,7 @@ namespace syncable {
class Directory;
}
+class DirectoryTypeDebugInfoEmitter;
class ModelSafeWorker;
// This class represents the syncable::Directory's processes for requesting and
@@ -44,7 +45,8 @@ class SYNC_EXPORT_PRIVATE DirectoryUpdateHandler : public UpdateHandler {
public:
DirectoryUpdateHandler(syncable::Directory* dir,
ModelType type,
- scoped_refptr<ModelSafeWorker> worker);
+ scoped_refptr<ModelSafeWorker> worker,
+ DirectoryTypeDebugInfoEmitter* debug_info_emitter);
virtual ~DirectoryUpdateHandler();
// UpdateHandler implementation.
@@ -93,6 +95,7 @@ class SYNC_EXPORT_PRIVATE DirectoryUpdateHandler : public UpdateHandler {
syncable::Directory* dir_;
ModelType type_;
scoped_refptr<ModelSafeWorker> worker_;
+ DirectoryTypeDebugInfoEmitter* debug_info_emitter_;
scoped_ptr<sync_pb::GarbageCollectionDirective> cached_gc_directive_;
« no previous file with comments | « sync/engine/directory_commit_contributor.cc ('k') | sync/engine/directory_update_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698