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

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

Issue 10905215: Kill DownloadManager::SearchDownloads, DownloadItem::MatchesQuery (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 virtual int64 GetTotalBytes() const OVERRIDE; 115 virtual int64 GetTotalBytes() const OVERRIDE;
116 virtual int64 GetReceivedBytes() const OVERRIDE; 116 virtual int64 GetReceivedBytes() const OVERRIDE;
117 virtual base::Time GetStartTime() const OVERRIDE; 117 virtual base::Time GetStartTime() const OVERRIDE;
118 virtual base::Time GetEndTime() const OVERRIDE; 118 virtual base::Time GetEndTime() const OVERRIDE;
119 virtual bool CanShowInFolder() OVERRIDE; 119 virtual bool CanShowInFolder() OVERRIDE;
120 virtual bool CanOpenDownload() OVERRIDE; 120 virtual bool CanOpenDownload() OVERRIDE;
121 virtual bool ShouldOpenFileBasedOnExtension() OVERRIDE; 121 virtual bool ShouldOpenFileBasedOnExtension() OVERRIDE;
122 virtual bool GetOpenWhenComplete() const OVERRIDE; 122 virtual bool GetOpenWhenComplete() const OVERRIDE;
123 virtual bool GetAutoOpened() OVERRIDE; 123 virtual bool GetAutoOpened() OVERRIDE;
124 virtual bool GetOpened() const OVERRIDE; 124 virtual bool GetOpened() const OVERRIDE;
125 virtual bool MatchesQuery(const string16& query) const OVERRIDE;
126 virtual content::DownloadPersistentStoreInfo 125 virtual content::DownloadPersistentStoreInfo
127 GetPersistentStoreInfo() const OVERRIDE; 126 GetPersistentStoreInfo() const OVERRIDE;
128 virtual content::BrowserContext* GetBrowserContext() const OVERRIDE; 127 virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
129 virtual content::WebContents* GetWebContents() const OVERRIDE; 128 virtual content::WebContents* GetWebContents() const OVERRIDE;
130 virtual void DelayedDownloadOpened(bool auto_opened) OVERRIDE; 129 virtual void DelayedDownloadOpened(bool auto_opened) OVERRIDE;
131 virtual void OnContentCheckCompleted( 130 virtual void OnContentCheckCompleted(
132 content::DownloadDangerType danger_type) OVERRIDE; 131 content::DownloadDangerType danger_type) OVERRIDE;
133 virtual void SetOpenWhenComplete(bool open) OVERRIDE; 132 virtual void SetOpenWhenComplete(bool open) OVERRIDE;
134 virtual void SetIsTemporary(bool temporary) OVERRIDE; 133 virtual void SetIsTemporary(bool temporary) OVERRIDE;
135 virtual void SetOpened(bool opened) OVERRIDE; 134 virtual void SetOpened(bool opened) OVERRIDE;
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 414
416 // Net log to use for this download. 415 // Net log to use for this download.
417 const net::BoundNetLog bound_net_log_; 416 const net::BoundNetLog bound_net_log_;
418 417
419 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; 418 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_;
420 419
421 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); 420 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl);
422 }; 421 };
423 422
424 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 423 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698