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

Side by Side Diff: mojo/services/http_server/cpp/http_server_util.h

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 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 #ifndef SERVICES_HTTP_SERVER_PUBLIC_HTTP_SERVER_UTIL_H_ 5 #ifndef SERVICES_HTTP_SERVER_HTTP_SERVER_UTIL_H_
6 #define SERVICES_HTTP_SERVER_PUBLIC_HTTP_SERVER_UTIL_H_ 6 #define SERVICES_HTTP_SERVER_HTTP_SERVER_UTIL_H_
7 7
8 #include "http_server/public/interfaces/http_response.mojom.h" 8 #include "http_server/interfaces/http_response.mojom.h"
9 9
10 namespace http_server { 10 namespace http_server {
11 11
12 // Helper method to create an HttpResponse given the status code and body. 12 // Helper method to create an HttpResponse given the status code and body.
13 HttpResponsePtr CreateHttpResponse(uint32_t status_code, 13 HttpResponsePtr CreateHttpResponse(uint32_t status_code,
14 const std::string& body); 14 const std::string& body);
15 } // namespace http_server 15 } // namespace http_server
16 16
17 #endif // SERVICES_HTTP_SERVER_PUBLIC_HTTP_SERVER_UTIL_H_ 17 #endif // SERVICES_HTTP_SERVER_HTTP_SERVER_UTIL_H_
OLDNEW
« no previous file with comments | « mojo/services/http_server/cpp/BUILD.gn ('k') | mojo/services/http_server/cpp/lib/http_server_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698