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

Unified Diff: chrome/common/web_resource/web_resource_unpacker.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 | « chrome/common/sandbox_mac.mm ('k') | chrome/renderer/dom_ui_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/web_resource/web_resource_unpacker.cc
===================================================================
--- chrome/common/web_resource/web_resource_unpacker.cc (revision 29830)
+++ chrome/common/web_resource/web_resource_unpacker.cc (working copy)
@@ -4,7 +4,7 @@
#include "chrome/common/web_resource/web_resource_unpacker.h"
-#include "base/json_reader.h"
+#include "base/json/json_reader.h"
#include "base/values.h"
const char* WebResourceUnpacker::kInvalidDataTypeError =
@@ -19,7 +19,7 @@
bool WebResourceUnpacker::Run() {
scoped_ptr<Value> value;
if (!resource_data_.empty()) {
- value.reset(JSONReader::Read(resource_data_, false));
+ value.reset(base::JSONReader::Read(resource_data_, false));
if (!value.get()) {
// Page information not properly read, or corrupted.
error_message_ = kInvalidDataTypeError;
« no previous file with comments | « chrome/common/sandbox_mac.mm ('k') | chrome/renderer/dom_ui_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698