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

Side by Side Diff: components/devtools_service/devtools_http_server.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/devtools_service/devtools_http_server.h" 5 #include "components/devtools_service/devtools_http_server.h"
6 6
7 #include <stddef.h>
7 #include <string.h> 8 #include <string.h>
8 9
9 #include <string> 10 #include <string>
10 11
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/json/json_writer.h" 13 #include "base/json/json_writer.h"
13 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h"
14 #include "base/stl_util.h" 16 #include "base/stl_util.h"
15 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
16 #include "base/values.h" 18 #include "base/values.h"
17 #include "components/devtools_service/devtools_agent_host.h" 19 #include "components/devtools_service/devtools_agent_host.h"
18 #include "components/devtools_service/devtools_registry_impl.h" 20 #include "components/devtools_service/devtools_registry_impl.h"
19 #include "components/devtools_service/devtools_service.h" 21 #include "components/devtools_service/devtools_service.h"
20 #include "mojo/application/public/cpp/application_impl.h" 22 #include "mojo/application/public/cpp/application_impl.h"
21 #include "mojo/public/cpp/system/data_pipe.h" 23 #include "mojo/public/cpp/system/data_pipe.h"
22 #include "mojo/services/network/public/cpp/web_socket_read_queue.h" 24 #include "mojo/services/network/public/cpp/web_socket_read_queue.h"
23 #include "mojo/services/network/public/cpp/web_socket_write_queue.h" 25 #include "mojo/services/network/public/cpp/web_socket_write_queue.h"
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 iter.value()->id().c_str())); 493 iter.value()->id().c_str()));
492 list_value.Append(dict_value.Pass()); 494 list_value.Append(dict_value.Pass());
493 } 495 }
494 return MakeJsonResponse(200, &list_value, std::string()); 496 return MakeJsonResponse(200, &list_value, std::string());
495 } 497 }
496 498
497 return MakeJsonResponse(404, nullptr, "Unknown command: " + command); 499 return MakeJsonResponse(404, nullptr, "Unknown command: " + command);
498 } 500 }
499 501
500 } // namespace devtools_service 502 } // namespace devtools_service
OLDNEW
« no previous file with comments | « components/devtools_service/devtools_http_server.h ('k') | components/devtools_service/devtools_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698