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

Side by Side Diff: services/http_server/http_server_factory_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
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 "services/http_server/http_server_factory_impl.h" 5 #include "services/http_server/http_server_factory_impl.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "mojo/services/http_server/public/interfaces/http_server.mojom.h" 8 #include "mojo/services/http_server/interfaces/http_server.mojom.h"
9 #include "services/http_server/http_server_impl.h" 9 #include "services/http_server/http_server_impl.h"
10 10
11 namespace http_server { 11 namespace http_server {
12 12
13 HttpServerFactoryImpl::HttpServerFactoryImpl(mojo::ApplicationImpl* app) { 13 HttpServerFactoryImpl::HttpServerFactoryImpl(mojo::ApplicationImpl* app) {
14 app_ = app; 14 app_ = app;
15 } 15 }
16 16
17 HttpServerFactoryImpl::~HttpServerFactoryImpl() { 17 HttpServerFactoryImpl::~HttpServerFactoryImpl() {
18 // Free the http servers. 18 // Free the http servers.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 port_indicated_servers_[key]->AddBinding(server_request.Pass()); 82 port_indicated_servers_[key]->AddBinding(server_request.Pass());
83 } else { 83 } else {
84 HttpServerImpl* server = 84 HttpServerImpl* server =
85 new HttpServerImpl(app_, this, local_address.Pass()); 85 new HttpServerImpl(app_, this, local_address.Pass());
86 server->AddBinding(server_request.Pass()); 86 server->AddBinding(server_request.Pass());
87 port_any_servers_.insert(server); 87 port_any_servers_.insert(server);
88 } 88 }
89 } 89 }
90 90
91 } // namespace http_server 91 } // namespace http_server
OLDNEW
« no previous file with comments | « services/http_server/http_server_factory_impl.h ('k') | services/http_server/http_server_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698