diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-30 20:52:52 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-30 20:52:52 +0000 |
commit | 5c7600448e731587e667a3f15e28ee265e2ac2d2 (patch) | |
tree | 3e517b7d3ac0cc7d579afb4f12a12509ba2c93d2 /chrome/browser/chrome_browser_main_extra_parts.h | |
parent | bda793bf2164da5ddb5a55a380fe5126be562c42 (diff) | |
download | chromium_src-5c7600448e731587e667a3f15e28ee265e2ac2d2.zip chromium_src-5c7600448e731587e667a3f15e28ee265e2ac2d2.tar.gz chromium_src-5c7600448e731587e667a3f15e28ee265e2ac2d2.tar.bz2 |
Make BrowserMainParts have an empty implementation to make embedding easier.
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/10443091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_browser_main_extra_parts.h')
-rw-r--r-- | chrome/browser/chrome_browser_main_extra_parts.h | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/chrome/browser/chrome_browser_main_extra_parts.h b/chrome/browser/chrome_browser_main_extra_parts.h index 2bf3f1c..07673ab 100644 --- a/chrome/browser/chrome_browser_main_extra_parts.h +++ b/chrome/browser/chrome_browser_main_extra_parts.h @@ -17,30 +17,26 @@ class ChromeBrowserMainExtraParts { public: - ChromeBrowserMainExtraParts(); - virtual ~ChromeBrowserMainExtraParts(); + virtual ~ChromeBrowserMainExtraParts() {} // EarlyInitialization methods. - virtual void PreEarlyInitialization(); - virtual void PostEarlyInitialization(); + virtual void PreEarlyInitialization() {} + virtual void PostEarlyInitialization() {} // ToolkitInitialized methods. - virtual void ToolkitInitialized(); + virtual void ToolkitInitialized() {} // MainMessageLoopStart methods. - virtual void PreMainMessageLoopStart(); - virtual void PostMainMessageLoopStart(); + virtual void PreMainMessageLoopStart() {} + virtual void PostMainMessageLoopStart() {} // MainMessageLoopRun methods. - virtual void PreProfileInit(); - virtual void PostProfileInit(); - virtual void PreBrowserStart(); - virtual void PostBrowserStart(); - virtual void PreMainMessageLoopRun(); - virtual void PostMainMessageLoopRun(); - - private: - DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraParts); + virtual void PreProfileInit() {} + virtual void PostProfileInit() {} + virtual void PreBrowserStart() {} + virtual void PostBrowserStart() {} + virtual void PreMainMessageLoopRun() {} + virtual void PostMainMessageLoopRun() {} }; #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_H_ |