| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_ | 5 #ifndef BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_ |
| 6 #define BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_ | 6 #define BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 explicit BlimpBrowserMainParts(const content::MainFunctionParams& parameters); | 32 explicit BlimpBrowserMainParts(const content::MainFunctionParams& parameters); |
| 33 ~BlimpBrowserMainParts() override; | 33 ~BlimpBrowserMainParts() override; |
| 34 | 34 |
| 35 // content::BrowserMainParts implementation. | 35 // content::BrowserMainParts implementation. |
| 36 void PreEarlyInitialization() override; | 36 void PreEarlyInitialization() override; |
| 37 void PreMainMessageLoopRun() override; | 37 void PreMainMessageLoopRun() override; |
| 38 void PostMainMessageLoopRun() override; | 38 void PostMainMessageLoopRun() override; |
| 39 | 39 |
| 40 BlimpBrowserContext* GetBrowserContext(); | 40 BlimpBrowserContext* GetBrowserContext(); |
| 41 SettingsManager* GetSettingsManager(); | 41 SettingsManager* GetSettingsManager(); |
| 42 BlimpEngineSession* GetBlimpEngineSession(); |
| 42 | 43 |
| 43 private: | 44 private: |
| 44 std::unique_ptr<BlimpEngineConfig> engine_config_; | 45 std::unique_ptr<BlimpEngineConfig> engine_config_; |
| 45 std::unique_ptr<net::NetLog> net_log_; | 46 std::unique_ptr<net::NetLog> net_log_; |
| 46 std::unique_ptr<SettingsManager> settings_manager_; | 47 std::unique_ptr<SettingsManager> settings_manager_; |
| 47 std::unique_ptr<BlimpEngineSession> engine_session_; | 48 std::unique_ptr<BlimpEngineSession> engine_session_; |
| 48 | 49 |
| 49 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserMainParts); | 50 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserMainParts); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace engine | 53 } // namespace engine |
| 53 } // namespace blimp | 54 } // namespace blimp |
| 54 | 55 |
| 55 #endif // BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_ | 56 #endif // BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_ |
| OLD | NEW |