summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_util_mac.h
blob: f71810f4094e5b87e97be14ae703a80f612c9f83 (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_UTIL_MAC_H_
#define CHROME_BROWSER_COCOA_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_UTIL_MAC_H_