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

Side by Side Diff: mash/example/views_examples/views_examples_application_delegate.cc

Issue 2182643003: Remove shell::Connection* parameter to InterfaceFactory<T>::Create() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mash/example/views_examples/views_examples_application_delegate.h" 5 #include "mash/example/views_examples/views_examples_application_delegate.h"
6 6
7 #include "services/shell/public/cpp/connection.h" 7 #include "services/shell/public/cpp/connection.h"
8 #include "services/shell/public/cpp/connector.h" 8 #include "services/shell/public/cpp/connector.h"
9 #include "ui/views/examples/example_base.h" 9 #include "ui/views/examples/example_base.h"
10 #include "ui/views/examples/examples_window.h" 10 #include "ui/views/examples/examples_window.h"
(...skipping 21 matching lines...) Expand all
32 return true; 32 return true;
33 } 33 }
34 34
35 void ViewsExamplesApplicationDelegate::Launch(uint32_t what, 35 void ViewsExamplesApplicationDelegate::Launch(uint32_t what,
36 mash::mojom::LaunchMode how) { 36 mash::mojom::LaunchMode how) {
37 views::examples::ShowExamplesWindow(views::examples::QUIT_ON_CLOSE, 37 views::examples::ShowExamplesWindow(views::examples::QUIT_ON_CLOSE,
38 nullptr, nullptr); 38 nullptr, nullptr);
39 } 39 }
40 40
41 void ViewsExamplesApplicationDelegate::Create( 41 void ViewsExamplesApplicationDelegate::Create(
42 shell::Connection* connection, 42 const shell::Identity& remote_identity,
43 mash::mojom::LaunchableRequest request) { 43 mash::mojom::LaunchableRequest request) {
44 bindings_.AddBinding(this, std::move(request)); 44 bindings_.AddBinding(this, std::move(request));
45 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698