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

Unified Diff: net/http/des.h

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: net/http/des.h
===================================================================
--- net/http/des.h (revision 95949)
+++ net/http/des.h (working copy)
@@ -7,7 +7,7 @@
#pragma once
#include "base/basictypes.h"
-#include "net/base/net_api.h"
+#include "net/base/net_export.h"
namespace net {
@@ -17,12 +17,13 @@
// TODO(wtc): Turn this into a C++ API and move it to the base module.
// Build a 64-bit DES key from a 56-bit raw key.
-NET_TEST void DESMakeKey(const uint8* raw, uint8* key);
+NET_EXPORT_PRIVATE void DESMakeKey(const uint8* raw, uint8* key);
// Run the DES encryption algorithm in ECB mode on one block (8 bytes) of
// data. |key| is a DES key (8 bytes), |src| is the input plaintext (8
// bytes), and |hash| is an 8-byte buffer receiving the output ciphertext.
-NET_TEST void DESEncrypt(const uint8* key, const uint8* src, uint8* hash);
+NET_EXPORT_PRIVATE void DESEncrypt(const uint8* key, const uint8* src,
+ uint8* hash);
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698