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

Side by Side Diff: services/http_server/http_server_impl.cc

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices 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
« no previous file with comments | « services/http_server/http_server_impl.h ('k') | services/icu_data/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "services/http_server/http_server_impl.h" 5 #include "services/http_server/http_server_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "mojo/public/cpp/application/application_impl.h" 9 #include "mojo/public/cpp/application/application_impl.h"
10 #include "mojo/public/cpp/system/data_pipe.h" 10 #include "mojo/public/cpp/system/data_pipe.h"
11 #include "mojo/services/http_server/public/cpp/http_server_util.h" 11 #include "mojo/services/http_server/cpp/http_server_util.h"
12 #include "services/http_server/connection.h" 12 #include "services/http_server/connection.h"
13 #include "services/http_server/http_server_factory_impl.h" 13 #include "services/http_server/http_server_factory_impl.h"
14 14
15 namespace http_server { 15 namespace http_server {
16 16
17 HttpServerImpl::HttpServerImpl(mojo::ApplicationImpl* app, 17 HttpServerImpl::HttpServerImpl(mojo::ApplicationImpl* app,
18 HttpServerFactoryImpl* factory, 18 HttpServerFactoryImpl* factory,
19 mojo::NetAddressPtr requested_local_address) 19 mojo::NetAddressPtr requested_local_address)
20 : factory_(factory), 20 : factory_(factory),
21 requested_local_address_(requested_local_address.Pass()), 21 requested_local_address_(requested_local_address.Pass()),
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 HttpServerImpl::Handler::Handler(const std::string& pattern, 161 HttpServerImpl::Handler::Handler(const std::string& pattern,
162 HttpHandlerPtr http_handler) 162 HttpHandlerPtr http_handler)
163 : pattern(new RE2(pattern.c_str())), http_handler(http_handler.Pass()) { 163 : pattern(new RE2(pattern.c_str())), http_handler(http_handler.Pass()) {
164 } 164 }
165 165
166 HttpServerImpl::Handler::~Handler() { 166 HttpServerImpl::Handler::~Handler() {
167 } 167 }
168 168
169 } // namespace http_server 169 } // namespace http_server
OLDNEW
« no previous file with comments | « services/http_server/http_server_impl.h ('k') | services/icu_data/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698