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

Side by Side Diff: sky/services/platform/net_constants.h

Issue 959773005: Share sky::PlatformImpl bettween sky_viewer and SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/services/platform/BUILD.gn ('k') | sky/services/platform/platform_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « sky/services/platform/BUILD.gn ('k') | sky/services/platform/platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698