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

Side by Side Diff: content/public/browser/download_manager_delegate.h

Issue 21355004: [Downloads] Move client guid for AV scanning of downloaded files to chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 | « content/browser/safe_util_win.cc ('k') | content/public/browser/download_manager_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_DOWNLOAD_MANAGER_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DOWNLOAD_MANAGER_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_MANAGER_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_MANAGER_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual void OpenDownload(DownloadItem* download) {} 122 virtual void OpenDownload(DownloadItem* download) {}
123 123
124 // Shows the download via the OS shell. 124 // Shows the download via the OS shell.
125 virtual void ShowDownloadInShell(DownloadItem* download) {} 125 virtual void ShowDownloadInShell(DownloadItem* download) {}
126 126
127 // Checks whether a downloaded file still exists. 127 // Checks whether a downloaded file still exists.
128 virtual void CheckForFileExistence( 128 virtual void CheckForFileExistence(
129 DownloadItem* download, 129 DownloadItem* download,
130 const CheckForFileExistenceCallback& callback) {} 130 const CheckForFileExistenceCallback& callback) {}
131 131
132 // Return a GUID string used for identifying the application to the
133 // system AV function for scanning downloaded files. If an empty
134 // or invalid GUID string is returned, no client identification
135 // will be given to the AV function.
136 virtual std::string ApplicationClientIdForFileScanning() const;
137
132 protected: 138 protected:
133 virtual ~DownloadManagerDelegate(); 139 virtual ~DownloadManagerDelegate();
134 }; 140 };
135 141
136 } // namespace content 142 } // namespace content
137 143
138 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_MANAGER_DELEGATE_H_ 144 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/safe_util_win.cc ('k') | content/public/browser/download_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698