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

Unified Diff: content/public/browser/browser_main_parts.h

Issue 2530043002: Set process phases in the StackSamplingProfiler. (Closed)
Patch Set: rebased Created 4 years 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: content/public/browser/browser_main_parts.h
diff --git a/content/public/browser/browser_main_parts.h b/content/public/browser/browser_main_parts.h
index 8b41253e0574dda3bba78cbea10c0dd9af315a70..96e40c895a23f0fdb3833b39a8df49fefb5bc2bb 100644
--- a/content/public/browser/browser_main_parts.h
+++ b/content/public/browser/browser_main_parts.h
@@ -91,6 +91,13 @@ class CONTENT_EXPORT BrowserMainParts {
// Called as the very last part of shutdown, after threads have been
// stopped and destroyed.
virtual void PostDestroyThreads() {}
+
+ // Called when shutdown is about to begin.
+ virtual void PreShutdown() {}
+
+ // Called when shutdown is complete. This is the very last method called
+ // before "parts" is disconnected from the main runner.
+ virtual void PostShutdown() {}
Mike Wittman 2016/12/01 16:40:33 Internal interfaces in Chrome are generally not ad
bcwhite 2016/12/01 17:59:54 Done.
};
} // namespace content
« components/metrics/proto/execution_context.proto ('K') | « content/browser/browser_main_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698