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

Side by Side Diff: mojo/public/interfaces/application/application.mojom

Issue 568173003: Add Initialize() method to Application with ability to send args using (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review nit Created 6 years, 3 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 import "mojo/public/interfaces/application/service_provider.mojom" 5 import "mojo/public/interfaces/application/service_provider.mojom"
6 6
7 module mojo { 7 module mojo {
8 8
9 // Applications vend Services through the ServiceProvider interface. Services 9 // Applications vend Services through the ServiceProvider interface. Services
10 // implement Interfaces. 10 // implement Interfaces.
11 [Client=Shell] 11 [Client=Shell]
12 interface Application { 12 interface Application {
13 // Initialize is guaranteed to be called before any AcceptConnection calls.
14 Initialize(string[] args);
viettrungluu 2014/09/15 17:26:19 I'd make this optional/nullable.
DaveMoore 2014/09/15 22:35:08 Done.
15
13 AcceptConnection(string? requestor_url, ServiceProvider? provider); 16 AcceptConnection(string? requestor_url, ServiceProvider? provider);
14 }; 17 };
15 18
16 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698