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

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

Issue 2650643004: [Sync] Make SMTP always have the dump stack function. (Closed)
Patch Set: 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/data_type_controller.h
diff --git a/components/sync/driver/data_type_controller.h b/components/sync/driver/data_type_controller.h
index aef685cdbc2cb6afcf85026f484a8db39d22830a..812a190432920e70c434d59e43720a71456cd523 100644
--- a/components/sync/driver/data_type_controller.h
+++ b/components/sync/driver/data_type_controller.h
@@ -157,14 +157,11 @@ class DataTypeController : public base::SupportsWeakPtr<DataTypeController> {
virtual void GetStatusCounters(const StatusCountersCallback& callback) = 0;
protected:
- DataTypeController(ModelType type, const base::Closure& dump_stack);
+ explicit DataTypeController(ModelType type);
// Allows subclasses to DCHECK that they're on the correct thread.
bool CalledOnValidThread() const;
- // Callback to dump and upload a stack trace when an error occurs.
- base::Closure dump_stack_;
-
private:
// The type this object is responsible for controlling.
const ModelType type_;
« no previous file with comments | « components/reading_list/ios/reading_list_model_unittest.mm ('k') | components/sync/driver/data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698