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

Unified Diff: chrome/browser/debugger/devtools_remote_service.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
Index: chrome/browser/debugger/devtools_remote_service.cc
===================================================================
--- chrome/browser/debugger/devtools_remote_service.cc (revision 29830)
+++ chrome/browser/debugger/devtools_remote_service.cc (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/json_reader.h"
-#include "base/json_writer.h"
+#include "base/json/json_reader.h"
+#include "base/json/json_writer.h"
#include "base/scoped_ptr.h"
#include "base/values.h"
#include "chrome/browser/browser_process.h"
@@ -32,7 +32,7 @@
void DevToolsRemoteService::HandleMessage(
const DevToolsRemoteMessage& message) {
- scoped_ptr<Value> request(JSONReader::Read(message.content(), false));
+ scoped_ptr<Value> request(base::JSONReader::Read(message.content(), false));
if (request.get() == NULL) {
// Bad JSON
NOTREACHED();
@@ -94,7 +94,7 @@
response.SetInteger(kResultWide, Result::kUnknownCommand);
}
std::string response_json;
- JSONWriter::Write(&response, false, &response_json);
+ base::JSONWriter::Write(&response, false, &response_json);
scoped_ptr<DevToolsRemoteMessage> response_message(
DevToolsRemoteMessageBuilder::instance().Create(message.tool(),
message.destination(),
Property changes on: chrome/browser/debugger/devtools_remote_service.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/debugger/debugger_remote_service.cc ('k') | chrome/browser/debugger/extension_ports_remote_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698