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

Unified Diff: base/tracked_objects.h

Issue 9125015: Implement profiler log writing at shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: base/tracked_objects.h
diff --git a/base/tracked_objects.h b/base/tracked_objects.h
index a088ee201bac95b754e36dff68bfe17f219134e4..e78ded55d26dfc1183aee5d4df486c7aae3bebec 100644
--- a/base/tracked_objects.h
+++ b/base/tracked_objects.h
@@ -704,30 +704,6 @@ class BASE_EXPORT DataCollector {
DISALLOW_COPY_AND_ASSIGN(DataCollector);
};
-//------------------------------------------------------------------------------
-// Provide simple way to to start global tracking, and to tear down tracking
-// when done. The design has evolved to *not* do any teardown (and just leak
-// all allocated data structures). As a result, we don't have any code in this
-// destructor, and perhaps this whole class should go away.
-
-class BASE_EXPORT AutoTracking {
- public:
- AutoTracking() {
- ThreadData::Initialize();
- }
-
- ~AutoTracking() {
- // TODO(jar): Consider emitting a CSV dump of the data at this point. This
- // should be called after the message loops have all terminated (or at least
- // the main message loop is gone), so there is little chance for additional
- // tasks to be Run.
- }
-
- private:
-
- DISALLOW_COPY_AND_ASSIGN(AutoTracking);
-};
-
} // namespace tracked_objects
#endif // BASE_TRACKED_OBJECTS_H_
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.h » ('j') | chrome/browser/task_profiler/task_profiler_data_serializer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698