From 93d9b612153922e0a91aef863fc6071590cbfa1b Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Thu, 28 Mar 2013 12:34:49 -0400 Subject: [PATCH] Allow overriding MainDelegate::BasicStartupComplete --- brightray/common/main_delegate.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/brightray/common/main_delegate.h b/brightray/common/main_delegate.h index 4795cfdeb65c..19d1306191c3 100644 --- a/brightray/common/main_delegate.h +++ b/brightray/common/main_delegate.h @@ -18,6 +18,10 @@ public: MainDelegate(); ~MainDelegate(); +protected: + virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; + virtual void PreSandboxStartup() OVERRIDE; + private: static void InitializeResourceBundle(); #if defined(OS_MACOSX) @@ -25,9 +29,6 @@ private: static void OverrideFrameworkBundlePath(); #endif - virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; - virtual void PreSandboxStartup() OVERRIDE; - scoped_ptr content_client_; DISALLOW_COPY_AND_ASSIGN(MainDelegate);