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

Side by Side Diff: blimp/engine/app/blimp_browser_main_parts.h

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome 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
« no previous file with comments | « blimp/engine/app/OWNERS ('k') | blimp/engine/app/blimp_browser_main_parts.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_
6 #define BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_
7
8 #include <memory>
9
10 #include "base/macros.h"
11 #include "blimp/engine/mojo/blob_channel_service.h"
12 #include "content/public/browser/browser_main_parts.h"
13 #include "content/public/common/main_function_params.h"
14
15 namespace net {
16 class NetLog;
17 }
18
19 namespace content {
20 struct MainFunctionParams;
21 }
22
23 namespace blimp {
24
25 class BlobChannelSender;
26
27 namespace engine {
28
29 class BlimpBrowserContext;
30 class BlimpEngineConfig;
31 class BlimpEngineSession;
32 class SettingsManager;
33
34 class BlimpBrowserMainParts : public content::BrowserMainParts {
35 public:
36 explicit BlimpBrowserMainParts(const content::MainFunctionParams& parameters);
37 ~BlimpBrowserMainParts() override;
38
39 // content::BrowserMainParts implementation.
40 void PreEarlyInitialization() override;
41 void PreMainMessageLoopRun() override;
42 void PostMainMessageLoopRun() override;
43
44 BlimpBrowserContext* GetBrowserContext();
45 SettingsManager* GetSettingsManager();
46 BlobChannelSender* GetBlobChannelSender();
47 BlobChannelService* GetBlobChannelService();
48 BlimpEngineSession* GetBlimpEngineSession();
49
50 private:
51 std::unique_ptr<BlimpEngineConfig> engine_config_;
52 std::unique_ptr<net::NetLog> net_log_;
53 std::unique_ptr<SettingsManager> settings_manager_;
54 std::unique_ptr<BlimpEngineSession> engine_session_;
55
56 DISALLOW_COPY_AND_ASSIGN(BlimpBrowserMainParts);
57 };
58
59 } // namespace engine
60 } // namespace blimp
61
62 #endif // BLIMP_ENGINE_APP_BLIMP_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « blimp/engine/app/OWNERS ('k') | blimp/engine/app/blimp_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698