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

Side by Side Diff: content/browser/download/download_manager_impl.h

Issue 10702151: Revert 146162 - Move Rename functionality from DownloadFileManager to DownloadFileImple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 scoped_ptr<content::ByteStreamReader> stream) OVERRIDE; 51 scoped_ptr<content::ByteStreamReader> stream) OVERRIDE;
52 virtual void UpdateDownload(int32 download_id, 52 virtual void UpdateDownload(int32 download_id,
53 int64 bytes_so_far, 53 int64 bytes_so_far,
54 int64 bytes_per_sec, 54 int64 bytes_per_sec,
55 const std::string& hash_state) OVERRIDE; 55 const std::string& hash_state) OVERRIDE;
56 virtual void OnResponseCompleted(int32 download_id, int64 size, 56 virtual void OnResponseCompleted(int32 download_id, int64 size,
57 const std::string& hash) OVERRIDE; 57 const std::string& hash) OVERRIDE;
58 virtual void CancelDownload(int32 download_id) OVERRIDE; 58 virtual void CancelDownload(int32 download_id) OVERRIDE;
59 virtual void OnDownloadInterrupted( 59 virtual void OnDownloadInterrupted(
60 int32 download_id, 60 int32 download_id,
61 int64 size,
62 const std::string& hash_state,
61 content::DownloadInterruptReason reason) OVERRIDE; 63 content::DownloadInterruptReason reason) OVERRIDE;
62 virtual int RemoveDownloadsBetween(base::Time remove_begin, 64 virtual int RemoveDownloadsBetween(base::Time remove_begin,
63 base::Time remove_end) OVERRIDE; 65 base::Time remove_end) OVERRIDE;
64 virtual int RemoveDownloads(base::Time remove_begin) OVERRIDE; 66 virtual int RemoveDownloads(base::Time remove_begin) OVERRIDE;
65 virtual int RemoveAllDownloads() OVERRIDE; 67 virtual int RemoveAllDownloads() OVERRIDE;
66 virtual void DownloadUrl( 68 virtual void DownloadUrl(
67 scoped_ptr<content::DownloadUrlParameters> params) OVERRIDE; 69 scoped_ptr<content::DownloadUrlParameters> params) OVERRIDE;
68 virtual void AddObserver(Observer* observer) OVERRIDE; 70 virtual void AddObserver(Observer* observer) OVERRIDE;
69 virtual void RemoveObserver(Observer* observer) OVERRIDE; 71 virtual void RemoveObserver(Observer* observer) OVERRIDE;
70 virtual void OnPersistentStoreQueryComplete( 72 virtual void OnPersistentStoreQueryComplete(
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 240
239 // Allows an embedder to control behavior. Guaranteed to outlive this object. 241 // Allows an embedder to control behavior. Guaranteed to outlive this object.
240 content::DownloadManagerDelegate* delegate_; 242 content::DownloadManagerDelegate* delegate_;
241 243
242 net::NetLog* net_log_; 244 net::NetLog* net_log_;
243 245
244 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); 246 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl);
245 }; 247 };
246 248
247 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 249 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_item_impl_unittest.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698