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

Unified Diff: mandoline/ui/desktop_ui/browser_manager.cc

Issue 1455833005: Convert ConnectToApplication to take a params class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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 | « mandoline/ui/desktop_ui/browser_apptest.cc ('k') | mandoline/ui/desktop_ui/browser_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/desktop_ui/browser_manager.cc
diff --git a/mandoline/ui/desktop_ui/browser_manager.cc b/mandoline/ui/desktop_ui/browser_manager.cc
index 1049472e63536be95998afe42651e4d68b5c7122..7eac4d9c752740db0f5f489574d34096012fd62d 100644
--- a/mandoline/ui/desktop_ui/browser_manager.cc
+++ b/mandoline/ui/desktop_ui/browser_manager.cc
@@ -51,9 +51,7 @@ void BrowserManager::Initialize(mojo::ApplicationImpl* app) {
app_ = app;
tracing_.Initialize(app);
- mojo::URLRequestPtr request(mojo::URLRequest::New());
- request->url = "mojo:mus";
- app_->ConnectToService(request.Pass(), &host_factory_);
+ app_->ConnectToService("mojo:mus", &host_factory_);
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
// Create a Browser for each valid URL in the command line.
« no previous file with comments | « mandoline/ui/desktop_ui/browser_apptest.cc ('k') | mandoline/ui/desktop_ui/browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698