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

Unified Diff: net/http/transport_security_persister.cc

Issue 59693008: Give mojo_shell a TransportSecurityPersister (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sprinkle some NET_EXPORT Created 7 years, 1 month 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
« no previous file with comments | « net/http/transport_security_persister.h ('k') | net/http/transport_security_persister_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/transport_security_persister.cc
diff --git a/chrome/browser/net/transport_security_persister.cc b/net/http/transport_security_persister.cc
similarity index 99%
rename from chrome/browser/net/transport_security_persister.cc
rename to net/http/transport_security_persister.cc
index afa186043107cb081bc2e5b9e7c4b7f6a4a72b25..a7e72fd3ce26b90e4556fce8302ce2adf990499c 100644
--- a/chrome/browser/net/transport_security_persister.cc
+++ b/net/http/transport_security_persister.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/net/transport_security_persister.h"
+#include "net/http/transport_security_persister.h"
#include "base/base64.h"
#include "base/bind.h"
@@ -90,6 +90,9 @@ std::string LoadState(const base::FilePath& path) {
} // namespace
+
+namespace net {
+
TransportSecurityPersister::TransportSecurityPersister(
TransportSecurityState* state,
const base::FilePath& profile_path,
@@ -308,3 +311,5 @@ void TransportSecurityPersister::CompleteLoad(const std::string& state) {
if (dirty)
StateIsDirty(transport_security_state_);
}
+
+} // namespace net
« no previous file with comments | « net/http/transport_security_persister.h ('k') | net/http/transport_security_persister_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698