Index: content/public/app/content_main_delegate.cc |
diff --git a/content/public/app/content_main_delegate.cc b/content/public/app/content_main_delegate.cc |
index 88ce4aa912c1b8eb495ed1971711e198297a638c..3a75a8cb65d1216e064aa551cc29dbe7f18b2566 100644 |
--- a/content/public/app/content_main_delegate.cc |
+++ b/content/public/app/content_main_delegate.cc |
@@ -72,6 +72,11 @@ ContentRendererClient* ContentMainDelegate::CreateContentRendererClient() { |
#endif |
} |
+void ContentMainDelegate::SetStartupObserver( |
+ scoped_ptr<StartupTaskRunner::Observer> observer) { |
+ startup_observer_ = observer.Pass(); |
+} |
+ |
ContentUtilityClient* ContentMainDelegate::CreateContentUtilityClient() { |
#if defined(OS_IOS) || defined(CHROME_MULTIPLE_DLL_BROWSER) |
return NULL; |
@@ -80,4 +85,8 @@ ContentUtilityClient* ContentMainDelegate::CreateContentUtilityClient() { |
#endif |
} |
+StartupTaskRunner::Observer* ContentMainDelegate::GetStartupObserver() { |
+ return startup_observer_.get(); |
+} |
+ |
} // namespace content |