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

Unified Diff: ppapi/native_client/src/trusted/plugin/file_downloader.h

Issue 186483006: Pepper: More FileDownloader cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/file_downloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/plugin/file_downloader.h
diff --git a/ppapi/native_client/src/trusted/plugin/file_downloader.h b/ppapi/native_client/src/trusted/plugin/file_downloader.h
index c291daa78d238ed67f80130f425e485ba5c0b709..68fc1e104ab4fea0391dccb43ad74125760740b8 100644
--- a/ppapi/native_client/src/trusted/plugin/file_downloader.h
+++ b/ppapi/native_client/src/trusted/plugin/file_downloader.h
@@ -86,7 +86,6 @@ class FileDownloader {
url_loader_trusted_interface_(NULL),
open_time_(-1),
mode_(DOWNLOAD_NONE),
- open_and_stream_(true),
url_scheme_(SCHEME_OTHER),
data_stream_callback_source_(NULL) {}
~FileDownloader() {}
@@ -173,7 +172,6 @@ class FileDownloader {
bool streaming_to_file() const;
bool streaming_to_buffer() const;
bool streaming_to_user() const;
- bool not_streaming() const;
int status_code() const { return status_code_; }
nacl::string GetResponseHeaders() const;
@@ -222,7 +220,6 @@ class FileDownloader {
int64_t open_time_;
int32_t status_code_;
DownloadMode mode_;
- bool open_and_stream_;
static const uint32_t kTempBufferSize = 2048;
std::vector<char> temp_buffer_;
std::deque<char> buffer_;
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/file_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698