summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download/download_util_mac.h
blob: 30ca42a021742f30a3042e6c0033dc3bb11f86dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2010 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.
//
// Download utility functions for Mac OS X.

#ifndef CHROME_BROWSER_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_
#define CHROME_BROWSER_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_
#pragma once

#import <Cocoa/Cocoa.h>

class FilePath;

namespace download_util {

void AddFileToPasteboard(NSPasteboard* pasteboard, const FilePath& path);

// Notify the system that a download completed. This will cause the download
// folder in the dock to bounce.
void NotifySystemOfDownloadComplete(const FilePath& path);

}  // namespace download_util

#endif  // CHROME_BROWSER_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_