Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: blimp/engine/testing/app/blimp_browser_testing_main_parts.h

Issue 2572563006: [Blimp] Refactor Blimp test engine with embedded test server and URL rewriting (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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;
jbudorick 2016/12/13 18:31:03 Could we set up the ETS in one of these two functi
shenghuazhang 2017/01/05 23:36:33 This should be the correct place to set up the ETS
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698