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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/file_downloader.cc

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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) 2011 The Native Client Authors. All rights reserved. 1 // Copyright (c) 2011 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 "native_client/src/trusted/plugin/file_downloader.h" 5 #include "native_client/src/trusted/plugin/file_downloader.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <string> 8 #include <string>
9 9
10 #include "native_client/src/include/portability_io.h" 10 #include "native_client/src/include/portability_io.h"
11 #include "native_client/src/shared/platform/nacl_check.h" 11 #include "native_client/src/shared/platform/nacl_check.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 329
330 bool FileDownloader::streaming_to_file() const { 330 bool FileDownloader::streaming_to_file() const {
331 return (flags_ & DOWNLOAD_TO_BUFFER) == 0; 331 return (flags_ & DOWNLOAD_TO_BUFFER) == 0;
332 } 332 }
333 333
334 bool FileDownloader::streaming_to_buffer() const { 334 bool FileDownloader::streaming_to_buffer() const {
335 return (flags_ & DOWNLOAD_TO_BUFFER) == 1; 335 return (flags_ & DOWNLOAD_TO_BUFFER) == 1;
336 } 336 }
337 337
338 } // namespace plugin 338 } // namespace plugin
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698