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 SKY_VIEWER_PLATFORM_NET_CONSTANTS_H_ | 5 #ifndef SKY_VIEWER_PLATFORM_NET_CONSTANTS_H_ |
6 #define SKY_VIEWER_PLATFORM_NET_CONSTANTS_H_ | 6 #define SKY_VIEWER_PLATFORM_NET_CONSTANTS_H_ |
7 | 7 |
8 namespace sky { | 8 namespace sky { |
9 // This corresponds to ERR_ABORTED in net/base/net_error_list.h. | 9 // This corresponds to ERR_ABORTED in net/base/net_error_list.h. |
10 // TODO(ppi): declare an enum in the network service mojom so that the clients | 10 // TODO(ppi): declare an enum in the network service mojom so that the clients |
11 // don't need to hard-code these values. | 11 // don't need to hard-code these values. |
12 const int32_t kNetErrorAborted = -3; | 12 const int32_t kNetErrorAborted = -3; |
13 | 13 |
14 const char kNetErrorDomain[] = "net"; | 14 const char kNetErrorDomain[] = "net"; |
15 } // namespace sky | 15 } // namespace sky |
16 #endif // SKY_VIEWER_PLATFORM_NET_CONSTANTS_H_ | 16 #endif // SKY_VIEWER_PLATFORM_NET_CONSTANTS_H_ |
OLD | NEW |