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

Side by Side Diff: mojo/application/public/cpp/lib/application_impl.cc

Issue 1139123006: Fork the mojo shell interfaces used by Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/public/cpp/application/application_impl.h" 5 #include "mojo/application/public/cpp/application_impl.h"
6 6
7 #include "mojo/public/cpp/application/application_delegate.h" 7 #include "mojo/application/public/cpp/application_delegate.h"
8 #include "mojo/public/cpp/application/lib/service_registry.h" 8 #include "mojo/application/public/cpp/lib/service_registry.h"
9 #include "mojo/public/cpp/bindings/interface_ptr.h" 9 #include "mojo/public/cpp/bindings/interface_ptr.h"
10 #include "mojo/public/cpp/environment/logging.h" 10 #include "mojo/public/cpp/environment/logging.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 13
14 class ApplicationImpl::ShellPtrWatcher : public ErrorHandler { 14 class ApplicationImpl::ShellPtrWatcher : public ErrorHandler {
15 public: 15 public:
16 ShellPtrWatcher(ApplicationImpl* impl) : impl_(impl) {} 16 ShellPtrWatcher(ApplicationImpl* impl) : impl_(impl) {}
17 17
18 ~ShellPtrWatcher() override {} 18 ~ShellPtrWatcher() override {}
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 incoming_service_registries_.push_back(registry); 109 incoming_service_registries_.push_back(registry);
110 } 110 }
111 111
112 void ApplicationImpl::RequestQuit() { 112 void ApplicationImpl::RequestQuit() {
113 delegate_->Quit(); 113 delegate_->Quit();
114 Terminate(); 114 Terminate();
115 } 115 }
116 116
117 } // namespace mojo 117 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698