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

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: John comment Created 3 years, 11 months 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
Kevin M 2017/01/09 20:17:17 Use standard comment boilerplate, e.g. "// BlimpB
shenghuazhang 2017/01/10 23:20:49 Done.
32 // in class BlimpBrowserMainParts.
33 void PreEarlyInitialization() override;
34 void PreMainMessageLoopRun() override;
35 void PostMainMessageLoopRun() override;
36
37 protected:
38 std::unique_ptr<BlimpEngineConfig> engine_config_;
39 std::unique_ptr<net::NetLog> net_log_;
40 std::unique_ptr<SettingsManager> settings_manager_;
41 std::unique_ptr<BlimpEngineSession> engine_session_;
42
43 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserTestingMainParts);
44 };
45
46 } // namespace engine
47 } // namespace blimp
48
49 #endif // BLIMP_ENGINE_TESTING_APP_BLIMP_BROWSER_TESTING_MAIN_PARTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698