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

Unified Diff: blimp/engine/app/blimp_browser_main_parts.cc

Issue 2572563006: [Blimp] Refactor Blimp test engine with embedded test server and URL rewriting (Closed)
Patch Set: nit change 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/engine/app/blimp_browser_main_parts.h ('k') | blimp/engine/app/blimp_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/blimp_browser_main_parts.cc
diff --git a/blimp/engine/app/blimp_browser_main_parts.cc b/blimp/engine/app/blimp_browser_main_parts.cc
index 32e405c65a1a240f452c0349c779a5dab668035a..d299a417f8549b3666209ff9c6afe26ea145b1fc 100644
--- a/blimp/engine/app/blimp_browser_main_parts.cc
+++ b/blimp/engine/app/blimp_browser_main_parts.cc
@@ -56,6 +56,16 @@ void BlimpBrowserMainParts::PostMainMessageLoopRun() {
engine_session_.reset();
}
+void BlimpBrowserMainParts::SetSettingsManagerForTesting(
+ std::unique_ptr<SettingsManager> settings_manager) {
+ settings_manager_ = std::move(settings_manager);
+}
+
+void BlimpBrowserMainParts::SetEngineSessionForTesting(
+ std::unique_ptr<BlimpEngineSession> engine_session) {
+ engine_session_ = std::move(engine_session);
+}
+
BlimpBrowserContext* BlimpBrowserMainParts::GetBrowserContext() {
return engine_session_->browser_context();
}
« no previous file with comments | « blimp/engine/app/blimp_browser_main_parts.h ('k') | blimp/engine/app/blimp_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698