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

Unified Diff: chrome/browser/net/transport_security_persister.h

Issue 11227026: Move ImportantFileWriter to base/. It now has two consumers, base/prefs and chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win build for real. Created 8 years, 2 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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_storage.h ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/transport_security_persister.h
diff --git a/chrome/browser/net/transport_security_persister.h b/chrome/browser/net/transport_security_persister.h
index 8896933adcdcf51c64a31ff28d5df003df09c334..845845363c765957ed1e2e25822039d8bf4c433d 100644
--- a/chrome/browser/net/transport_security_persister.h
+++ b/chrome/browser/net/transport_security_persister.h
@@ -36,15 +36,15 @@
#include <string>
#include "base/file_path.h"
+#include "base/files/important_file_writer.h"
#include "base/memory/weak_ptr.h"
-#include "chrome/common/important_file_writer.h"
#include "net/base/transport_security_state.h"
// Reads and updates on-disk TransportSecurity state.
// Must be created, used and destroyed only on the IO thread.
class TransportSecurityPersister
: public net::TransportSecurityState::Delegate,
- public ImportantFileWriter::DataSerializer {
+ public base::ImportantFileWriter::DataSerializer {
public:
TransportSecurityPersister(net::TransportSecurityState* state,
const FilePath& profile_path,
@@ -117,7 +117,7 @@ class TransportSecurityPersister
net::TransportSecurityState* transport_security_state_;
// Helper for safely writing the data.
- ImportantFileWriter writer_;
+ base::ImportantFileWriter writer_;
// Whether or not we're in read-only mode.
const bool readonly_;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_storage.h ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698