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

Unified Diff: net/base/transport_security_state.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/base/transport_security_state.h
===================================================================
--- net/base/transport_security_state.h (revision 95949)
+++ net/base/transport_security_state.h (working copy)
@@ -14,7 +14,7 @@
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
#include "base/time.h"
-#include "net/base/net_api.h"
+#include "net/base/net_export.h"
#include "net/base/x509_cert_types.h"
namespace net {
@@ -24,7 +24,7 @@
// Tracks which hosts have enabled *-Transport-Security. This object manages
// the in-memory store. A separate object must register itself with this object
// in order to persist the state to disk.
-class NET_API TransportSecurityState :
+class NET_EXPORT TransportSecurityState :
public base::RefCountedThreadSafe<TransportSecurityState> {
public:
// If non-empty, |hsts_hosts| is a JSON-formatted string to treat as if it
@@ -33,7 +33,7 @@
explicit TransportSecurityState(const std::string& hsts_hosts);
// A DomainState is the information that we persist about a given domain.
- struct NET_API DomainState {
+ struct NET_EXPORT DomainState {
enum Mode {
// Strict mode implies:
// * We generate internal redirects from HTTP -> HTTPS.

Powered by Google App Engine
This is Rietveld 408576698