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

Unified Diff: mash/example/views_examples/views_examples_application_delegate.cc

Issue 2179023004: Make Service own ServiceContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
Index: mash/example/views_examples/views_examples_application_delegate.cc
diff --git a/mash/example/views_examples/views_examples_application_delegate.cc b/mash/example/views_examples/views_examples_application_delegate.cc
index 5c9bc7cfe8d0027600c788816f35e69153d7939e..bf07f713cda481da3e47f742b6f9544203a4bd10 100644
--- a/mash/example/views_examples/views_examples_application_delegate.cc
+++ b/mash/example/views_examples/views_examples_application_delegate.cc
@@ -17,13 +17,11 @@ ViewsExamplesApplicationDelegate::~ViewsExamplesApplicationDelegate() {
}
void ViewsExamplesApplicationDelegate::OnStart(
- shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) {
- tracing_.Initialize(connector, identity.name());
- aura_init_.reset(new views::AuraInit(connector, "views_mus_resources.pak"));
+ const shell::Identity& identity) {
+ tracing_.Initialize(connector(), identity.name());
+ aura_init_.reset(new views::AuraInit(connector(), "views_mus_resources.pak"));
window_manager_connection_ =
- views::WindowManagerConnection::Create(connector, identity);
+ views::WindowManagerConnection::Create(connector(), identity);
}
bool ViewsExamplesApplicationDelegate::OnConnect(
« no previous file with comments | « mash/example/views_examples/views_examples_application_delegate.h ('k') | mash/example/window_type_launcher/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698