| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 module vanadium; | 5 module vanadium; |
| 6 | 6 |
| 7 // Represents the name of an application. |url| is the url of the | 7 // Represents the name of an application. |url| is the url of the |
| 8 // application. |qualifier| is a string that allows to tie a specific | 8 // application. |qualifier| is a string that allows to tie a specific |
| 9 // instance of an application to another. | 9 // instance of an application to another. |
| 10 struct AppInstanceName { | 10 struct AppInstanceName { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 // Removes the user blessing for the application instance that invokes the | 41 // Removes the user blessing for the application instance that invokes the |
| 42 // Logout method. | 42 // Logout method. |
| 43 Logout(); | 43 Logout(); |
| 44 | 44 |
| 45 // GetUserBlessing returns the user blessing for a given application instance. | 45 // GetUserBlessing returns the user blessing for a given application instance. |
| 46 // It returns an error if the application instance has not invoked Login(). | 46 // It returns an error if the application instance has not invoked Login(). |
| 47 GetUserBlessing(AppInstanceName app) => (Blessing? user_blessing); | 47 GetUserBlessing(AppInstanceName app) => (Blessing? user_blessing); |
| 48 }; | 48 }; |
| 49 | 49 |
| OLD | NEW |