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

Side by Side Diff: mandoline/services/updater/updater_app.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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 unified diff | Download patch
« no previous file with comments | « mandoline/services/updater/DEPS ('k') | mandoline/services/updater/updater_impl.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 "mandoline/services/updater/updater_app.h" 5 #include "mandoline/services/updater/updater_app.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "mandoline/services/updater/updater_impl.h" 8 #include "mandoline/services/updater/updater_impl.h"
9 #include "mojo/application/public/cpp/application_connection.h" 9 #include "mojo/application/public/cpp/application_connection.h"
10 #include "mojo/application/public/cpp/application_impl.h" 10 #include "mojo/application/public/cpp/application_impl.h"
11 #include "mojo/application/public/cpp/application_runner.h" 11 #include "mojo/application/public/cpp/application_runner.h"
12 #include "third_party/mojo/src/mojo/public/c/system/main.h" 12 #include "mojo/public/c/system/main.h"
13 13
14 namespace updater { 14 namespace updater {
15 15
16 UpdaterApp::UpdaterApp() : app_impl_(nullptr) { 16 UpdaterApp::UpdaterApp() : app_impl_(nullptr) {
17 } 17 }
18 18
19 UpdaterApp::~UpdaterApp() { 19 UpdaterApp::~UpdaterApp() {
20 } 20 }
21 21
22 void UpdaterApp::Initialize(mojo::ApplicationImpl* app) { 22 void UpdaterApp::Initialize(mojo::ApplicationImpl* app) {
(...skipping 10 matching lines...) Expand all
33 mojo::InterfaceRequest<Updater> request) { 33 mojo::InterfaceRequest<Updater> request) {
34 new UpdaterImpl(app_impl_, this, request.Pass()); 34 new UpdaterImpl(app_impl_, this, request.Pass());
35 } 35 }
36 36
37 } // namespace updater 37 } // namespace updater
38 38
39 MojoResult MojoMain(MojoHandle shell_handle) { 39 MojoResult MojoMain(MojoHandle shell_handle) {
40 mojo::ApplicationRunner runner(new updater::UpdaterApp); 40 mojo::ApplicationRunner runner(new updater::UpdaterApp);
41 return runner.Run(shell_handle); 41 return runner.Run(shell_handle);
42 } 42 }
OLDNEW
« no previous file with comments | « mandoline/services/updater/DEPS ('k') | mandoline/services/updater/updater_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698