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

Unified Diff: blimp/engine/browser/blimp_browser_main_parts.h

Issue 1403083002: [Blimp] Adds Blimp EngineSession and ClientSession skeleton (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/engine/browser/BUILD.gn ('k') | blimp/engine/browser/blimp_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/browser/blimp_browser_main_parts.h
diff --git a/blimp/engine/browser/blimp_browser_main_parts.h b/blimp/engine/browser/blimp_browser_main_parts.h
index 5c2e991a3f70e74f58b860a122b64a4c36fe843b..77fd8b73dd30dd8e8476efe81ffb7ac1e345cd83 100644
--- a/blimp/engine/browser/blimp_browser_main_parts.h
+++ b/blimp/engine/browser/blimp_browser_main_parts.h
@@ -7,17 +7,21 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
-#include "blimp/engine/browser/blimp_browser_context.h"
#include "content/public/browser/browser_main_parts.h"
namespace net {
class NetLog;
}
+namespace content {
+struct MainFunctionParams;
+}
+
namespace blimp {
namespace engine {
-class BlimpScreen;
+class BlimpBrowserContext;
+class BlimpEngineSession;
class BlimpBrowserMainParts : public content::BrowserMainParts {
public:
@@ -27,14 +31,12 @@ class BlimpBrowserMainParts : public content::BrowserMainParts {
// content::BrowserMainParts implementation.
void PreMainMessageLoopRun() override;
void PostMainMessageLoopRun() override;
- int PreCreateThreads() override;
- BlimpBrowserContext* browser_context() { return browser_context_.get(); }
+ BlimpBrowserContext* GetBrowserContext();
private:
scoped_ptr<net::NetLog> net_log_;
- scoped_ptr<BlimpBrowserContext> browser_context_;
- scoped_ptr<BlimpScreen> screen_;
+ scoped_ptr<BlimpEngineSession> engine_session_;
DISALLOW_COPY_AND_ASSIGN(BlimpBrowserMainParts);
};
« no previous file with comments | « blimp/engine/browser/BUILD.gn ('k') | blimp/engine/browser/blimp_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698