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

Side by Side Diff: content/browser/devtools/devtools_protocol.cc

Issue 16755004: Use a direct include of strings headers in content/browser/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/devtools/devtools_protocol.h" 5 #include "content/browser/devtools/devtools_protocol.h"
6 6
7 #include "base/json/json_reader.h" 7 #include "base/json/json_reader.h"
8 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 namespace { 13 namespace {
14 14
15 const char kIdParam[] = "id"; 15 const char kIdParam[] = "id";
16 const char kMethodParam[] = "method"; 16 const char kMethodParam[] = "method";
17 const char kParamsParam[] = "params"; 17 const char kParamsParam[] = "params";
18 const char kResultParam[] = "result"; 18 const char kResultParam[] = "result";
19 const char kErrorParam[] = "error"; 19 const char kErrorParam[] = "error";
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 Response response(0, kErrorParseError, error_message); 257 Response response(0, kErrorParseError, error_message);
258 if (error_response) 258 if (error_response)
259 *error_response = response.Serialize(); 259 *error_response = response.Serialize();
260 return NULL; 260 return NULL;
261 } 261 }
262 262
263 return static_cast<DictionaryValue*>(message.release()); 263 return static_cast<DictionaryValue*>(message.release());
264 } 264 }
265 265
266 } // namespace content 266 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_netlog_observer.cc ('k') | content/browser/devtools/renderer_overrides_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698