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

Side by Side Diff: mojo/services/network/http_connection_impl.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 "mojo/services/network/http_connection_impl.h" 5 #include "mojo/services/network/http_connection_impl.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <limits> 10 #include <limits>
8 #include <utility> 11 #include <utility>
9 12
10 #include "base/bind.h" 13 #include "base/bind.h"
11 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
12 #include "base/callback.h" 15 #include "base/callback.h"
13 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/macros.h"
14 #include "base/stl_util.h" 18 #include "base/stl_util.h"
15 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
16 #include "mojo/message_pump/handle_watcher.h" 20 #include "mojo/message_pump/handle_watcher.h"
17 #include "mojo/public/cpp/bindings/type_converter.h" 21 #include "mojo/public/cpp/bindings/type_converter.h"
18 #include "mojo/public/cpp/system/data_pipe.h" 22 #include "mojo/public/cpp/system/data_pipe.h"
19 #include "mojo/services/network/http_server_impl.h" 23 #include "mojo/services/network/http_server_impl.h"
20 #include "mojo/services/network/net_adapters.h" 24 #include "mojo/services/network/net_adapters.h"
21 #include "mojo/services/network/public/cpp/web_socket_read_queue.h" 25 #include "mojo/services/network/public/cpp/web_socket_read_queue.h"
22 #include "mojo/services/network/public/cpp/web_socket_write_queue.h" 26 #include "mojo/services/network/public/cpp/web_socket_write_queue.h"
23 #include "mojo/services/network/public/interfaces/web_socket.mojom.h" 27 #include "mojo/services/network/public/interfaces/web_socket.mojom.h"
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 // The close operation is initiated by this object. 418 // The close operation is initiated by this object.
415 NotifyOwnerCloseIfAllDone(); 419 NotifyOwnerCloseIfAllDone();
416 } else { 420 } else {
417 // The close operation is initiated by |web_socket_|; start closing this 421 // The close operation is initiated by |web_socket_|; start closing this
418 // object. 422 // object.
419 Close(); 423 Close();
420 } 424 }
421 } 425 }
422 426
423 } // namespace mojo 427 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/network/http_connection_impl.h ('k') | mojo/services/network/http_server_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698