| 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 #ifndef MOJO_SHELL_IDENTITY_H_ | 5 #ifndef MOJO_SHELL_IDENTITY_H_ |
| 6 #define MOJO_SHELL_IDENTITY_H_ | 6 #define MOJO_SHELL_IDENTITY_H_ |
| 7 | 7 |
| 8 #include "mojo/shell/capability_filter.h" | 8 #include "mojo/shell/capability_filter.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 std::string qualifier_; | 40 std::string qualifier_; |
| 41 | 41 |
| 42 // TODO(beng): CapabilityFilter is not currently included in equivalence | 42 // TODO(beng): CapabilityFilter is not currently included in equivalence |
| 43 // checks for Identity since we're not currently clear on the | 43 // checks for Identity since we're not currently clear on the |
| 44 // policy for instance disambiguation. Need to figure this out. | 44 // policy for instance disambiguation. Need to figure this out. |
| 45 // This field is supplied because it is logically part of the | 45 // This field is supplied because it is logically part of the |
| 46 // instance identity of an application. | 46 // instance identity of an application. |
| 47 CapabilityFilter filter_; | 47 CapabilityFilter filter_; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 // Creates an identity for the Shell, used when the Shell connects to |
| 51 // applications. |
| 52 Identity CreateShellIdentity(); |
| 53 |
| 50 } // namespace shell | 54 } // namespace shell |
| 51 } // namespace mojo | 55 } // namespace mojo |
| 52 | 56 |
| 53 #endif // MOJO_SHELL_IDENTITY_H_ | 57 #endif // MOJO_SHELL_IDENTITY_H_ |
| OLD | NEW |