~ubuntu-branches/ubuntu/trusty/aria2/trusty

« back to all changes in this revision

Viewing changes to src/DownloadEngine.h

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-12-16 18:41:03 UTC
  • mfrom: (2.5.21 sid)
  • Revision ID: package-import@ubuntu.com-20131216184103-xzah3019zwut429g
Tags: 1.18.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
  int64_t refreshInterval_;
132
132
  Timer lastRefresh_;
133
133
 
134
 
  std::deque<std::unique_ptr<Command>> routineCommands_;
135
 
 
136
134
  std::unique_ptr<CookieStorage> cookieStorage_;
137
135
 
138
136
#ifdef ENABLE_BITTORRENT
167
165
  std::multimap<std::string, SocketPoolEntry>::iterator
168
166
  findSocketPoolEntry(const std::string& key);
169
167
 
170
 
  std::deque<std::unique_ptr<Command>> commands_;
171
168
  std::unique_ptr<RequestGroupMan> requestGroupMan_;
172
169
  std::unique_ptr<FileAllocationMan> fileAllocationMan_;
173
170
  std::unique_ptr<CheckIntegrityMan> checkIntegrityMan_;
174
171
  Option* option_;
 
172
  // Ensure that Commands are cleaned up before requestGroupMan_ is
 
173
  // deleted.
 
174
  std::deque<std::unique_ptr<Command>> routineCommands_;
 
175
  std::deque<std::unique_ptr<Command>> commands_;
175
176
public:
176
177
  DownloadEngine(std::unique_ptr<EventPoll> eventPoll);
177
178