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

Side by Side Diff: mojo/shell/shell_application_loader.cc

Issue 1679573002: Move shell interfaces into the shell.mojom namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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
« no previous file with comments | « mojo/shell/shell_application_loader.h ('k') | mojo/shell/standalone/android/android_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "mojo/shell/shell_application_loader.h" 5 #include "mojo/shell/shell_application_loader.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "mojo/shell/public/cpp/application_impl.h" 9 #include "mojo/shell/public/cpp/application_impl.h"
10 #include "mojo/shell/shell_application_delegate.h" 10 #include "mojo/shell/shell_application_delegate.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 namespace shell { 13 namespace shell {
14 14
15 ShellApplicationLoader::ShellApplicationLoader(ApplicationManager* manager) 15 ShellApplicationLoader::ShellApplicationLoader(ApplicationManager* manager)
16 : manager_(manager) {} 16 : manager_(manager) {}
17 ShellApplicationLoader::~ShellApplicationLoader() {} 17 ShellApplicationLoader::~ShellApplicationLoader() {}
18 18
19 void ShellApplicationLoader::Load( 19 void ShellApplicationLoader::Load(
20 const GURL& url, 20 const GURL& url,
21 InterfaceRequest<Application> application_request) { 21 InterfaceRequest<mojom::Application> application_request) {
22 DCHECK(application_request.is_pending()); 22 DCHECK(application_request.is_pending());
23 app_.reset(new ApplicationImpl(new ShellApplicationDelegate(manager_), 23 app_.reset(new ApplicationImpl(new ShellApplicationDelegate(manager_),
24 std::move(application_request))); 24 std::move(application_request)));
25 } 25 }
26 26
27 } // namespace shell 27 } // namespace shell
28 } // namespace mojo 28 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/shell_application_loader.h ('k') | mojo/shell/standalone/android/android_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698