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

Unified Diff: components/sync/driver/directory_data_type_controller.h

Issue 2639393002: [Sync] Make SMTP always have the dump stack function. (Closed)
Patch Set: Rebase. Created 3 years, 11 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: components/sync/driver/directory_data_type_controller.h
diff --git a/components/sync/driver/directory_data_type_controller.h b/components/sync/driver/directory_data_type_controller.h
index b4b2777894bfe0a1917aba93752286f1a84be48e..857055c062f83e32f85dfc08ffe28cedab239c36 100644
--- a/components/sync/driver/directory_data_type_controller.h
+++ b/components/sync/driver/directory_data_type_controller.h
@@ -66,6 +66,9 @@ class DirectoryDataTypeController : public DataTypeController {
// Returns null if the ChangeProcessor isn't created or connected.
virtual ChangeProcessor* GetChangeProcessor() const = 0;
+ // Function to capture and upload a stack trace when an error occurs.
+ base::Closure dump_stack_;
+
SyncClient* const sync_client_;
private:

Powered by Google App Engine
This is Rietveld 408576698