OLD | NEW |
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/application/public/cpp/application_delegate.h" | 5 #include "mojo/shell/public/cpp/application_delegate.h" |
6 | 6 |
7 namespace mojo { | 7 namespace mojo { |
8 | 8 |
9 ApplicationDelegate::ApplicationDelegate() { | 9 ApplicationDelegate::ApplicationDelegate() { |
10 } | 10 } |
11 ApplicationDelegate::~ApplicationDelegate() { | 11 ApplicationDelegate::~ApplicationDelegate() { |
12 } | 12 } |
13 | 13 |
14 void ApplicationDelegate::Initialize(ApplicationImpl* app) { | 14 void ApplicationDelegate::Initialize(ApplicationImpl* app) { |
15 } | 15 } |
16 | 16 |
17 bool ApplicationDelegate::ConfigureIncomingConnection( | 17 bool ApplicationDelegate::ConfigureIncomingConnection( |
18 ApplicationConnection* connection) { | 18 ApplicationConnection* connection) { |
19 return true; | 19 return true; |
20 } | 20 } |
21 | 21 |
22 bool ApplicationDelegate::ConfigureOutgoingConnection( | 22 bool ApplicationDelegate::ConfigureOutgoingConnection( |
23 ApplicationConnection* connection) { | 23 ApplicationConnection* connection) { |
24 return true; | 24 return true; |
25 } | 25 } |
26 | 26 |
27 bool ApplicationDelegate::OnShellConnectionError() { | 27 bool ApplicationDelegate::OnShellConnectionError() { |
28 return true; | 28 return true; |
29 } | 29 } |
30 | 30 |
31 void ApplicationDelegate::Quit() { | 31 void ApplicationDelegate::Quit() { |
32 } | 32 } |
33 | 33 |
34 } // namespace mojo | 34 } // namespace mojo |
OLD | NEW |