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

Unified Diff: content/browser/safe_util_win.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: base updates 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/safe_util_win.h
diff --git a/content/browser/safe_util_win.h b/content/browser/safe_util_win.h
index 16367488b3adac4435afe1f23869a07292f2d043..486c072a0d00f7a398e36956568b0e242a6c2fdf 100644
--- a/content/browser/safe_util_win.h
+++ b/content/browser/safe_util_win.h
@@ -8,8 +8,6 @@
#include <string>
#include <windows.h>
-class GURL;
-
namespace base {
class FilePath;
}
@@ -44,33 +42,6 @@ bool SaferOpenItemViaShell(HWND hwnd, const std::wstring& window_title,
const base::FilePath& full_path,
const std::wstring& source_url);
-// Invokes IAttachmentExecute::Save to validate the downloaded file. The call
-// may scan the file for viruses and if necessary, annotate it with evidence. As
-// a result of the validation, the file may be deleted. See:
-// http://msdn.microsoft.com/en-us/bb776299
-//
-// If Attachment Execution Services is unavailable, then this function will
-// attempt to manually annotate the file with security zone information. A
-// failure code will be returned in this case even if the file is sucessfully
-// annotated.
-//
-// IAE::Save() will delete the file if it was found to be blocked by local
-// security policy or if it was found to be infected. The call may also delete
-// the file due to other failures (http://crbug.com/153212). A failure code will
-// be returned in these cases.
-//
-// Typical return values:
-// S_OK : The file was okay. If any viruses were found, they were cleaned.
-// E_FAIL : Virus infected.
-// INET_E_SECURITY_PROBLEM : The file was blocked due to security policy.
-//
-// Any other return value indicates an unexpected error during the scan.
-//
-// |full_path| : is the path to the downloaded file. This should be the final
-// path of the download.
-// |source_url|: the source URL for the download.
-HRESULT ScanAndSaveDownloadedFile(const base::FilePath& full_path,
- const GURL& source_url);
} // namespace content
#endif // CONTENT_COMMON_SAFE_UTIL_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698