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

Side by Side Diff: blimp/engine/app/blimp_browser_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
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 29 matching lines...) Expand all
40 void PreEarlyInitialization() override; 40 void PreEarlyInitialization() override;
41 void PreMainMessageLoopRun() override; 41 void PreMainMessageLoopRun() override;
42 void PostMainMessageLoopRun() override; 42 void PostMainMessageLoopRun() override;
43 43
44 BlimpBrowserContext* GetBrowserContext(); 44 BlimpBrowserContext* GetBrowserContext();
45 SettingsManager* GetSettingsManager(); 45 SettingsManager* GetSettingsManager();
46 BlobChannelSender* GetBlobChannelSender(); 46 BlobChannelSender* GetBlobChannelSender();
47 BlobChannelService* GetBlobChannelService(); 47 BlobChannelService* GetBlobChannelService();
48 BlimpEngineSession* GetBlimpEngineSession(); 48 BlimpEngineSession* GetBlimpEngineSession();
49 49
50 void SetSettingsManagerForTesting(
51 std::unique_ptr<SettingsManager> settings_manager);
52 void SetEngineSessionForTesting(
53 std::unique_ptr<BlimpEngineSession> engine_session);
54
50 private: 55 private:
51 std::unique_ptr<BlimpEngineConfig> engine_config_; 56 std::unique_ptr<BlimpEngineConfig> engine_config_;
52 std::unique_ptr<net::NetLog> net_log_; 57 std::unique_ptr<net::NetLog> net_log_;
53 std::unique_ptr<SettingsManager> settings_manager_; 58 std::unique_ptr<SettingsManager> settings_manager_;
54 std::unique_ptr<BlimpEngineSession> engine_session_; 59 std::unique_ptr<BlimpEngineSession> engine_session_;
55 60
56 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserMainParts); 61 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserMainParts);
57 }; 62 };
58 63
59 } // namespace engine 64 } // namespace engine
60 } // namespace blimp 65 } // namespace blimp
61 66
62 #endif // BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_ 67 #endif // BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698