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

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: Update for review comments Created 8 years, 10 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 | « no previous file | chrome/browser/chrome_browser_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/tracked_objects.h
diff --git a/base/tracked_objects.h b/base/tracked_objects.h
index 9b7f11126c8d9dcb2e5e5b89a941132417ac12b0..c7567ff789b8e32484911e4a7af919a4062ab394 100644
--- a/base/tracked_objects.h
+++ b/base/tracked_objects.h
@@ -703,30 +703,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698