Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: chrome/common/extensions/image_writer/image_writer_util_mac.h

Issue 294163008: Adds USB writing for OS X. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@list-devices
Patch Set: Creates a location for code shared between browser and utility process. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698