OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // | |
5 // Download utility functions for Mac OS X. | |
6 | 4 |
7 #ifndef CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_ |
8 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_ |
9 | 7 |
10 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
11 | 9 |
12 namespace base { | 10 namespace base { |
13 class FilePath; | 11 class FilePath; |
14 } | 12 } |
15 | 13 |
16 namespace download_util { | 14 namespace download_util { |
17 | 15 |
18 void AddFileToPasteboard(NSPasteboard* pasteboard, const base::FilePath& path); | 16 void AddFileToPasteboard(NSPasteboard* pasteboard, const base::FilePath& path); |
19 | 17 |
20 } // namespace download_util | 18 } // namespace download_util |
21 | 19 |
22 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_ | 20 #endif // CHROME_BROWSER_UI_COCOA_DOWNLOAD_DOWNLOAD_UTIL_MAC_H_ |
OLD | NEW |