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

Unified Diff: net/base/asn1_util.h

Issue 6969077: net: Add NET_API to net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/base/asn1_util.h
===================================================================
--- net/base/asn1_util.h (revision 85332)
+++ net/base/asn1_util.h (working copy)
@@ -7,6 +7,7 @@
#pragma once
#include "base/string_piece.h"
+#include "net/base/net_api.h"
namespace net {
@@ -45,8 +46,8 @@
// ExtractSPKIFromDERCert parses the DER encoded certificate in |cert| and
// extracts the bytes of the SubjectPublicKeyInfo. On successful return,
// |spki_out| is set to contain the SPKI, pointing into |cert|.
-bool ExtractSPKIFromDERCert(base::StringPiece cert,
- base::StringPiece* spki_out);
+NET_TEST bool ExtractSPKIFromDERCert(base::StringPiece cert,
+ base::StringPiece* spki_out);
} // namespace asn1
« base/compiler_specific.h ('K') | « net/base/address_list.h ('k') | net/base/auth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698