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

Unified Diff: chrome/browser/ui/webui/md_downloads/downloads_list_tracker.h

Issue 1496853002: MD Downloads: fix incognito markers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@thread-bundle
Patch Set: remove DCHECK Created 5 years 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 | chrome/browser/ui/webui/md_downloads/downloads_list_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/md_downloads/downloads_list_tracker.h
diff --git a/chrome/browser/ui/webui/md_downloads/downloads_list_tracker.h b/chrome/browser/ui/webui/md_downloads/downloads_list_tracker.h
index 05399b337b1e1a1b86b6a2bd3618279c98e20a7c..00c8374b47fe8d9738e211e96c534af29953830a 100644
--- a/chrome/browser/ui/webui/md_downloads/downloads_list_tracker.h
+++ b/chrome/browser/ui/webui/md_downloads/downloads_list_tracker.h
@@ -68,6 +68,9 @@ class DownloadsListTracker : public AllDownloadItemNotifier::Observer {
virtual scoped_ptr<base::DictionaryValue> CreateDownloadItemValue(
content::DownloadItem* item) const;
+ // Exposed for testing.
+ bool IsIncognito(const content::DownloadItem& item) const;
+
const content::DownloadItem* GetItemForTesting(size_t index) const;
private:
« no previous file with comments | « no previous file | chrome/browser/ui/webui/md_downloads/downloads_list_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698