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

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

Issue 292213002: Change to using nacl_file_info.h from src/public instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: might as well use helper to check Created 6 years, 7 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 4
5 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_ 5 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_
6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_ 6 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "native_client/src/include/nacl_macros.h" 10 #include "native_client/src/include/nacl_macros.h"
11 #include "native_client/src/include/nacl_string.h" 11 #include "native_client/src/include/nacl_string.h"
12 #include "native_client/src/trusted/validator/nacl_file_info.h" 12 #include "native_client/src/public/nacl_file_info.h"
13 #include "ppapi/c/private/pp_file_handle.h" 13 #include "ppapi/c/private/pp_file_handle.h"
14 #include "ppapi/c/private/ppb_file_io_private.h" 14 #include "ppapi/c/private/ppb_file_io_private.h"
15 #include "ppapi/c/private/ppb_nacl_private.h" 15 #include "ppapi/c/private/ppb_nacl_private.h"
16 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" 16 #include "ppapi/c/trusted/ppb_url_loader_trusted.h"
17 #include "ppapi/cpp/file_io.h" 17 #include "ppapi/cpp/file_io.h"
18 #include "ppapi/cpp/instance.h" 18 #include "ppapi/cpp/instance.h"
19 #include "ppapi/cpp/url_loader.h" 19 #include "ppapi/cpp/url_loader.h"
20 #include "ppapi/cpp/url_response_info.h" 20 #include "ppapi/cpp/url_response_info.h"
21 #include "ppapi/native_client/src/trusted/plugin/callback_source.h" 21 #include "ppapi/native_client/src/trusted/plugin/callback_source.h"
22 #include "ppapi/utility/completion_callback_factory.h" 22 #include "ppapi/utility/completion_callback_factory.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 pp::CompletionCallbackFactory<FileDownloader> callback_factory_; 199 pp::CompletionCallbackFactory<FileDownloader> callback_factory_;
200 int32_t status_code_; 200 int32_t status_code_;
201 DownloadMode mode_; 201 DownloadMode mode_;
202 static const uint32_t kTempBufferSize = 16384; 202 static const uint32_t kTempBufferSize = 16384;
203 std::vector<char> temp_buffer_; 203 std::vector<char> temp_buffer_;
204 StreamCallbackSource* data_stream_callback_source_; 204 StreamCallbackSource* data_stream_callback_source_;
205 NaClFileInfoAutoCloser file_info_; 205 NaClFileInfoAutoCloser file_info_;
206 }; 206 };
207 } // namespace plugin; 207 } // namespace plugin;
208 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_ 208 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/DEPS ('k') | ppapi/native_client/src/trusted/plugin/plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698