| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef BLIMP_ENGINE_TESTING_APP_BLIMP_BROWSER_TESTING_MAIN_PARTS_H_ |
| 6 #define BLIMP_ENGINE_TESTING_APP_BLIMP_BROWSER_TESTING_MAIN_PARTS_H_ |
| 7 |
| 8 #include "blimp/engine/app/blimp_browser_main_parts.h" |
| 9 |
| 10 namespace net { |
| 11 class NetLog; |
| 12 } |
| 13 |
| 14 namespace content { |
| 15 struct MainFunctionParams; |
| 16 } |
| 17 |
| 18 namespace blimp { |
| 19 namespace engine { |
| 20 |
| 21 class BlimpEngineConfig; |
| 22 class BlimpEngineSession; |
| 23 class SettingsManager; |
| 24 |
| 25 class BlimpBrowserTestingMainParts : public BlimpBrowserMainParts { |
| 26 public: |
| 27 explicit BlimpBrowserTestingMainParts( |
| 28 const content::MainFunctionParams& parameters); |
| 29 ~BlimpBrowserTestingMainParts() = default; |
| 30 |
| 31 // Override content::BrowserMainParts implementation |
| 32 // in class BlimpBrowserMainParts. |
| 33 void PreEarlyInitialization() override; |
| 34 void PreMainMessageLoopRun() override; |
| 35 |
| 36 protected: |
| 37 std::unique_ptr<BlimpEngineConfig> engine_config_; |
| 38 std::unique_ptr<net::NetLog> net_log_; |
| 39 std::unique_ptr<SettingsManager> settings_manager_; |
| 40 std::unique_ptr<BlimpEngineSession> engine_session_; |
| 41 |
| 42 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserTestingMainParts); |
| 43 }; |
| 44 |
| 45 } // namespace engine |
| 46 } // namespace blimp |
| 47 |
| 48 #endif // BLIMP_ENGINE_TESTING_APP_BLIMP_BROWSER_TESTING_MAIN_PARTS_H_ |
| OLD | NEW |