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

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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 391
393 text[len] = 0; 392 text[len] = 0;
394 *out_manifest = text; 393 *out_manifest = text;
395 return 0; 394 return 0;
396 } 395 }
397 396
398 std::string MountHttp::MakeUrl(const Path& path) { 397 std::string MountHttp::MakeUrl(const Path& path) {
399 return url_root_ + 398 return url_root_ +
400 (path.IsAbsolute() ? path.Range(1, path.Size()) : path.Join()); 399 (path.IsAbsolute() ? path.Range(1, path.Size()) : path.Join());
401 } 400 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698