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

Side by Side Diff: mojo/public/python/mojo_application/application_delegate.py

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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
(Empty)
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
3 # found in the LICENSE file.
4
5 """Interface for the delegate of ApplicationImpl."""
6
7 import mojo_application.application_impl
8 import mojo_application.service_provider_impl
9 import shell_mojom
10
11 import mojo_system
12
13 # pylint: disable=unused-argument
14 class ApplicationDelegate:
15 def Initialize(self, shell, application):
16 """
17 Called from ApplicationImpl's Initialize() method.
18 """
19 pass
20
21 def OnAcceptConnection(self,
22 requestor_url,
23 resolved_url,
24 service_provider):
25 """
26 Called from ApplicationImpl's OnAcceptConnection() method. Returns a bool
27 indicating whether this connection should be accepted.
28 """
29 return False
OLDNEW
« no previous file with comments | « mojo/public/python/mojo_application/__init__.py ('k') | mojo/public/python/mojo_application/application_impl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698