blob: 87f17e4e479349dbdcb72cfa6ccf8c3d46d4555b [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/files/file_path.h"
#include "components/safe_browsing/proto/csd.pb.h"
namespace safe_browsing {
namespace download_type_util {
// Returns the DownloadType of the file at |path|. This function is only valid
// for paths that satisfy IsSupportedBinaryFile() above.
ClientDownloadRequest::DownloadType GetDownloadType(const base::FilePath& file);
} // namespace download_type_util
} // namespace safe_browsing