diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-28 23:18:21 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-28 23:18:21 +0000 |
commit | 0e6f619c41f85776a963a2bfb587ad64675554c4 (patch) | |
tree | dff81415834875ce943e6e4af882d676497d971b /crypto/p224.cc | |
parent | dfa08b04cf8ee5a34972379f254061647313e2f0 (diff) | |
download | chromium_src-0e6f619c41f85776a963a2bfb587ad64675554c4.zip chromium_src-0e6f619c41f85776a963a2bfb587ad64675554c4.tar.gz chromium_src-0e6f619c41f85776a963a2bfb587ad64675554c4.tar.bz2 |
Move net/base/sys_byteorder.h to base/sys_byteorder.h
Two motivations:
(1) There are currently clients in src/crypto that need the same logic.
(2) There is soon to be a client in src/chrome/common that needs the 64-bit version of this logic, which is currently inlined in a src/crypto implementation file.
BUG=103480
TEST=compiles
Review URL: http://codereview.chromium.org/8949026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115926 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/p224.cc')
-rw-r--r-- | crypto/p224.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/crypto/p224.cc b/crypto/p224.cc index 0c87a5f..31a19bc 100644 --- a/crypto/p224.cc +++ b/crypto/p224.cc @@ -11,14 +11,7 @@ #include <string.h> -#include "build/build_config.h" - -// For htonl and ntohl. -#if defined(OS_WIN) -#include <winsock2.h> -#else -#include <arpa/inet.h> -#endif +#include "base/sys_byteorder.h" namespace { |