| 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 arc; |   5 module arc.mojom; | 
|   6  |   6  | 
|   7 // These values describe failure reason of sign-in. |   7 // These values describe failure reason of sign-in. | 
|   8 enum ArcSignInFailureReason { |   8 enum ArcSignInFailureReason { | 
|   9   UNKNOWN_ERROR = 0, |   9   UNKNOWN_ERROR = 0, | 
|  10   NETWORK_ERROR = 1, |  10   NETWORK_ERROR = 1, | 
|  11   SERVICE_UNAVAILABLE = 2, |  11   SERVICE_UNAVAILABLE = 2, | 
|  12   BAD_AUTHENTICATION = 3, |  12   BAD_AUTHENTICATION = 3, | 
|  13   GMS_CORE_NOT_AVAILABLE = 4, |  13   GMS_CORE_NOT_AVAILABLE = 4, | 
|  14   CLOUD_PROVISION_FLOW_FAIL = 5, |  14   CLOUD_PROVISION_FLOW_FAIL = 5, | 
|  15 }; |  15 }; | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
|  26   [MinVersion=2] OnSignInComplete@2(); |  26   [MinVersion=2] OnSignInComplete@2(); | 
|  27   // Notifies Chrome that the sign-in fails to complete and provides failure |  27   // Notifies Chrome that the sign-in fails to complete and provides failure | 
|  28   // reason. |  28   // reason. | 
|  29   [MinVersion=2] OnSignInFailed@3(ArcSignInFailureReason reason); |  29   [MinVersion=2] OnSignInFailed@3(ArcSignInFailureReason reason); | 
|  30 }; |  30 }; | 
|  31  |  31  | 
|  32 interface AuthInstance { |  32 interface AuthInstance { | 
|  33   // Establishes full-duplex communication with the host. |  33   // Establishes full-duplex communication with the host. | 
|  34   Init(AuthHost host_ptr); |  34   Init(AuthHost host_ptr); | 
|  35 }; |  35 }; | 
| OLD | NEW |