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

Side by Side Diff: chrome/browser/download/download_hidden.h

Issue 10260018: Test downloads.download() disallows unsafe headers (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: DownloadHidden 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
« no previous file with comments | « no previous file | chrome/browser/download/download_hidden.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_HIDDEN_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_HIDDEN_H_
7
8 #include "content/public/browser/download_item.h"
9
10 // Clients may add a DownloadHidden to a DownloadItem in order to prevent the UI
11 // from displaying this DownloadItem.
12 class DownloadHidden : public content::DownloadItem::ExternalData {
13 public:
14 static bool Get(content::DownloadItem* download_item);
15
16 explicit DownloadHidden(content::DownloadItem* download_item);
17 virtual ~DownloadHidden();
18
19 private:
20 DISALLOW_COPY_AND_ASSIGN(DownloadHidden);
21 };
22
23 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_HIDDEN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/download/download_hidden.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698