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

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

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: let's try that again 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/runner/host/host_unittests.cc ('k') | mojo/shell/standalone/BUILD.gn » ('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_delegate.h" 5 #include "mojo/shell/shell_application_delegate.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/process/process.h" 11 #include "base/process/process.h"
12 #include "mojo/shell/application_manager.h" 12 #include "mojo/shell/application_manager.h"
13 #include "mojo/shell/public/cpp/connection.h" 13 #include "mojo/shell/public/cpp/connection.h"
14 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
15 14
16 namespace mojo { 15 namespace mojo {
17 namespace shell { 16 namespace shell {
18 17
19 ShellApplicationDelegate::ShellApplicationDelegate( 18 ShellApplicationDelegate::ShellApplicationDelegate(
20 mojo::shell::ApplicationManager* manager) 19 mojo::shell::ApplicationManager* manager)
21 : manager_(manager) {} 20 : manager_(manager) {}
22 ShellApplicationDelegate::~ShellApplicationDelegate() {} 21 ShellApplicationDelegate::~ShellApplicationDelegate() {}
23 22
24 void ShellApplicationDelegate::Initialize(Shell* shell, const std::string& url, 23 void ShellApplicationDelegate::Initialize(Shell* shell, const std::string& url,
(...skipping 18 matching lines...) Expand all
43 std::move(filter), std::move(pid_receiver)); 42 std::move(filter), std::move(pid_receiver));
44 } 43 }
45 44
46 void ShellApplicationDelegate::AddListener( 45 void ShellApplicationDelegate::AddListener(
47 mojom::ApplicationManagerListenerPtr listener) { 46 mojom::ApplicationManagerListenerPtr listener) {
48 manager_->AddListener(std::move(listener)); 47 manager_->AddListener(std::move(listener));
49 } 48 }
50 49
51 } // namespace shell 50 } // namespace shell
52 } // namespace mojo 51 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/runner/host/host_unittests.cc ('k') | mojo/shell/standalone/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698