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

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

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_agent_host_impl.h" 5 #include "content/browser/devtools/devtools_agent_host_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h"
11 #include "base/guid.h" 10 #include "base/guid.h"
12 #include "base/json/json_writer.h" 11 #include "base/json/json_writer.h"
13 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
14 #include "content/browser/devtools/devtools_manager.h" 13 #include "content/browser/devtools/devtools_manager.h"
15 #include "content/browser/devtools/forwarding_agent_host.h" 14 #include "content/browser/devtools/forwarding_agent_host.h"
16 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h" 15 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h"
17 #include "content/browser/devtools/render_frame_devtools_agent_host.h" 16 #include "content/browser/devtools/render_frame_devtools_agent_host.h"
18 #include "content/browser/devtools/service_worker_devtools_agent_host.h" 17 #include "content/browser/devtools/service_worker_devtools_agent_host.h"
19 #include "content/browser/devtools/service_worker_devtools_manager.h" 18 #include "content/browser/devtools/service_worker_devtools_manager.h"
20 #include "content/browser/devtools/shared_worker_devtools_agent_host.h" 19 #include "content/browser/devtools/shared_worker_devtools_agent_host.h"
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 278
280 if (chunk.is_last) { 279 if (chunk.is_last) {
281 CHECK(message_buffer_.size() == message_buffer_size_); 280 CHECK(message_buffer_.size() == message_buffer_size_);
282 callback_.Run(chunk.session_id, message_buffer_); 281 callback_.Run(chunk.session_id, message_buffer_);
283 message_buffer_ = std::string(); 282 message_buffer_ = std::string();
284 message_buffer_size_ = 0; 283 message_buffer_size_ = 0;
285 } 284 }
286 } 285 }
287 286
288 } // namespace content 287 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_agent_host_impl.h ('k') | content/browser/devtools/devtools_frame_trace_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698