| OLD | NEW |
| 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 #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" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 pp::CompletionCallbackFactory<FileDownloader> callback_factory_; | 109 pp::CompletionCallbackFactory<FileDownloader> callback_factory_; |
| 110 int64_t open_time_; | 110 int64_t open_time_; |
| 111 DownloadFlags flags_; | 111 DownloadFlags flags_; |
| 112 static const uint32_t kTempBufferSize = 1024; | 112 static const uint32_t kTempBufferSize = 1024; |
| 113 char temp_buffer_[kTempBufferSize]; | 113 char temp_buffer_[kTempBufferSize]; |
| 114 std::deque<char> buffer_; | 114 std::deque<char> buffer_; |
| 115 UrlSchemeType url_scheme_; | 115 UrlSchemeType url_scheme_; |
| 116 }; | 116 }; |
| 117 } // namespace plugin; | 117 } // namespace plugin; |
| 118 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_ | 118 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_FILE_DOWNLOADER_H_ |
| OLD | NEW |