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

Unified Diff: net/base/strict_transport_security_state.cc

Issue 316016: Move the json-related files into a separate json directory. This hopefully al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « net/base/net_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/strict_transport_security_state.cc
===================================================================
--- net/base/strict_transport_security_state.cc (revision 29830)
+++ net/base/strict_transport_security_state.cc (working copy)
@@ -4,8 +4,8 @@
#include "net/base/strict_transport_security_state.h"
-#include "base/json_reader.h"
-#include "base/json_writer.h"
+#include "base/json/json_reader.h"
+#include "base/json/json_writer.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "base/sha2.h"
@@ -228,7 +228,7 @@
toplevel.Set(HashedDomainToExternalString(i->first), state);
}
- JSONWriter::Write(&toplevel, true /* pretty print */, output);
+ base::JSONWriter::Write(&toplevel, true /* pretty print */, output);
return true;
}
@@ -238,7 +238,7 @@
enabled_hosts_.clear();
scoped_ptr<Value> value(
- JSONReader::Read(input, false /* do not allow trailing commas */));
+ base::JSONReader::Read(input, false /* do not allow trailing commas */));
if (!value.get() || !value->IsType(Value::TYPE_DICTIONARY))
return false;
« no previous file with comments | « net/base/net_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698