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

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

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 4 Created 7 years, 10 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_ITEM_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 14 matching lines...) Expand all
25 #include "net/base/net_errors.h" 25 #include "net/base/net_errors.h"
26 #include "net/base/net_log.h" 26 #include "net/base/net_log.h"
27 27
28 namespace content { 28 namespace content {
29 class DownloadFile; 29 class DownloadFile;
30 class DownloadItemImplDelegate; 30 class DownloadItemImplDelegate;
31 31
32 // See download_item.h for usage. 32 // See download_item.h for usage.
33 class CONTENT_EXPORT DownloadItemImpl 33 class CONTENT_EXPORT DownloadItemImpl
34 : public DownloadItem, 34 : public DownloadItem,
35 public DownloadDestinationObserver { 35 public NON_EXPORTED_BASE(DownloadDestinationObserver) {
36 public: 36 public:
37 enum ResumeMode { 37 enum ResumeMode {
38 RESUME_MODE_INVALID = 0, 38 RESUME_MODE_INVALID = 0,
39 RESUME_MODE_IMMEDIATE_CONTINUE, 39 RESUME_MODE_IMMEDIATE_CONTINUE,
40 RESUME_MODE_IMMEDIATE_RESTART, 40 RESUME_MODE_IMMEDIATE_RESTART,
41 RESUME_MODE_USER_CONTINUE, 41 RESUME_MODE_USER_CONTINUE,
42 RESUME_MODE_USER_RESTART 42 RESUME_MODE_USER_RESTART
43 }; 43 };
44 44
45 // The maximum number of attempts we will make to resume automatically. 45 // The maximum number of attempts we will make to resume automatically.
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 const net::BoundNetLog bound_net_log_; 481 const net::BoundNetLog bound_net_log_;
482 482
483 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; 483 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_;
484 484
485 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); 485 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl);
486 }; 486 };
487 487
488 } // namespace content 488 } // namespace content
489 489
490 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 490 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/utility/chrome_content_utility_client.h ('k') | content/public/browser/download_destination_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698