diff options
Diffstat (limited to 'mojo/shell/public/cpp/lib/application_delegate.cc')
-rw-r--r-- | mojo/shell/public/cpp/lib/application_delegate.cc | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mojo/shell/public/cpp/lib/application_delegate.cc b/mojo/shell/public/cpp/lib/application_delegate.cc new file mode 100644 index 0000000..41ba51c --- /dev/null +++ b/mojo/shell/public/cpp/lib/application_delegate.cc @@ -0,0 +1,34 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "mojo/shell/public/cpp/application_delegate.h" + +namespace mojo { + +ApplicationDelegate::ApplicationDelegate() { +} +ApplicationDelegate::~ApplicationDelegate() { +} + +void ApplicationDelegate::Initialize(ApplicationImpl* app) { +} + +bool ApplicationDelegate::ConfigureIncomingConnection( + ApplicationConnection* connection) { + return true; +} + +bool ApplicationDelegate::ConfigureOutgoingConnection( + ApplicationConnection* connection) { + return true; +} + +bool ApplicationDelegate::OnShellConnectionError() { + return true; +} + +void ApplicationDelegate::Quit() { +} + +} // namespace mojo |