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

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

Issue 1396423002: Move //mojo/services/network/public/interfaces to //mojo/services/network/interfaces. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 5 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 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 <limits> 7 #include <limits>
8 8
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "mojo/common/handle_watcher.h" 14 #include "mojo/common/handle_watcher.h"
15 #include "mojo/services/network/http_server_impl.h" 15 #include "mojo/services/network/http_server_impl.h"
16 #include "mojo/services/network/interfaces/web_socket.mojom.h"
16 #include "mojo/services/network/net_adapters.h" 17 #include "mojo/services/network/net_adapters.h"
17 #include "mojo/services/network/public/cpp/web_socket_read_queue.h" 18 #include "mojo/services/network/web_socket_read_queue.h"
18 #include "mojo/services/network/public/cpp/web_socket_write_queue.h" 19 #include "mojo/services/network/web_socket_write_queue.h"
19 #include "mojo/services/network/public/interfaces/web_socket.mojom.h"
20 #include "net/base/net_errors.h" 20 #include "net/base/net_errors.h"
21 #include "net/http/http_request_headers.h" 21 #include "net/http/http_request_headers.h"
22 #include "net/http/http_status_code.h" 22 #include "net/http/http_status_code.h"
23 #include "net/server/http_server.h" 23 #include "net/server/http_server.h"
24 #include "net/server/http_server_request_info.h" 24 #include "net/server/http_server_request_info.h"
25 #include "net/server/http_server_response_info.h" 25 #include "net/server/http_server_response_info.h"
26 #include "third_party/mojo/src/mojo/public/cpp/bindings/type_converter.h" 26 #include "third_party/mojo/src/mojo/public/cpp/bindings/type_converter.h"
27 #include "third_party/mojo/src/mojo/public/cpp/system/data_pipe.h" 27 #include "third_party/mojo/src/mojo/public/cpp/system/data_pipe.h"
28 28
29 namespace mojo { 29 namespace mojo {
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // The close operation is initiated by this object. 411 // The close operation is initiated by this object.
412 NotifyOwnerCloseIfAllDone(); 412 NotifyOwnerCloseIfAllDone();
413 } else { 413 } else {
414 // The close operation is initiated by |web_socket_|; start closing this 414 // The close operation is initiated by |web_socket_|; start closing this
415 // object. 415 // object.
416 Close(); 416 Close();
417 } 417 }
418 } 418 }
419 419
420 } // namespace mojo 420 } // 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