OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_COMMON_EXTENSIONS_IMAGE_WRITER_IMAGE_WRITER_UTIL_MAC_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_IMAGE_WRITER_IMAGE_WRITER_UTIL_MAC_H_ |
| 7 |
| 8 #include <CoreFoundation/CoreFoundation.h> |
| 9 |
| 10 namespace extensions { |
| 11 namespace image_writer { |
| 12 |
| 13 // Determines if the disk described by the dictionary is a removable USB or SD |
| 14 // drive. The dictionary should be one as returned by |DADiskCopyDescription|. |
| 15 // The caller retains ownership of the dictionary. |
| 16 bool IsRemovableDevice(CFDictionaryRef disk_description); |
| 17 |
| 18 } // image_writer |
| 19 } // extensions |
| 20 |
| 21 #endif // CHROME_COMMON_EXTENSIONS_IMAGE_WRITER_IMAGE_WRITER_UTIL_H_ |
OLD | NEW |