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

Unified Diff: extensions/browser/process_manager_observer.h

Issue 823703004: Tracking push events for lucid sleep (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Kill renderer if it sends a bad message id Created 5 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: extensions/browser/process_manager_observer.h
diff --git a/extensions/browser/process_manager_observer.h b/extensions/browser/process_manager_observer.h
index 413a34ef3a93781d6cf9ae7c64f1cb76a3c3876d..4b0dfd64143e52d6f0716457b26d081c10e884fd 100644
--- a/extensions/browser/process_manager_observer.h
+++ b/extensions/browser/process_manager_observer.h
@@ -15,6 +15,10 @@ class ProcessManagerObserver {
// Called immediately after an extension background host is started.
virtual void OnBackgroundHostStartup(const Extension* extension) {}
+ // Called immediately after an ExtensionHost for an extension with a lazy
+ // background page is created.
+ virtual void OnBackgroundHostCreated(ExtensionHost* host) {}
+
// Called immediately after the extension background host is destroyed.
virtual void OnBackgroundHostClose(const std::string& extension_id) {}
};

Powered by Google App Engine
This is Rietveld 408576698