| Index: content/browser/browser_main_loop.h
|
| ===================================================================
|
| --- content/browser/browser_main_loop.h (revision 110349)
|
| +++ content/browser/browser_main_loop.h (working copy)
|
| @@ -6,6 +6,8 @@
|
| #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_
|
| #pragma once
|
|
|
| +#include <vector>
|
| +
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
|
|
| @@ -53,6 +55,11 @@
|
| const CommandLine& parsed_command_line_;
|
| int result_code_;
|
|
|
| + // Vector of BrowserMainParts set by CreateBrowserMainParts ------------------
|
| + // The BrowserParts fucntions for each part are called in the order added.
|
| + // They are released (destroyed) in the reverse order.
|
| + std::vector<BrowserMainParts*> parts_list_;
|
| +
|
| // Members initialized in |MainMessageLoopStart()| ---------------------------
|
| scoped_ptr<MessageLoop> main_message_loop_;
|
| scoped_ptr<base::SystemMonitor> system_monitor_;
|
| @@ -63,10 +70,6 @@
|
| #endif
|
| scoped_ptr<BrowserThreadImpl> main_thread_;
|
|
|
| - // Parts are created in BrowserMainLoop::Init() and released/destroyed in
|
| - // the destructor before anything else.
|
| - scoped_ptr<BrowserMainParts> parts_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop);
|
| };
|
|
|
|
|