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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/mount_http.cc

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 */
5 4
6 #include "nacl_io/mount_http.h" 5 #include "nacl_io/mount_http.h"
7 6
8 #include <assert.h> 7 #include <assert.h>
9 #include <ctype.h> 8 #include <ctype.h>
10 #include <errno.h> 9 #include <errno.h>
11 #include <fcntl.h> 10 #include <fcntl.h>
12 #include <stdio.h> 11 #include <stdio.h>
13 #include <string.h> 12 #include <string.h>
14 #include <sys/stat.h> 13 #include <sys/stat.h>
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 *out_manifest = text; 395 *out_manifest = text;
397 return 0; 396 return 0;
398 } 397 }
399 398
400 std::string MountHttp::MakeUrl(const Path& path) { 399 std::string MountHttp::MakeUrl(const Path& path) {
401 return url_root_ + 400 return url_root_ +
402 (path.IsAbsolute() ? path.Range(1, path.Size()) : path.Join()); 401 (path.IsAbsolute() ? path.Range(1, path.Size()) : path.Join());
403 } 402 }
404 403
405 } // namespace nacl_io 404 } // namespace nacl_io
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount_http.h ('k') | native_client_sdk/src/libraries/nacl_io/mount_mem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698