| Index: chrome/browser/media_galleries/fileapi/iapps_finder_impl_mac.mm
|
| diff --git a/chrome/browser/media_galleries/fileapi/iapps_finder_impl_mac.mm b/chrome/browser/media_galleries/fileapi/iapps_finder_impl_mac.mm
|
| index d1d75721bf336b785856b4164dca686d8f0f658b..59d899c66d8ce81f2d52e4d83ea3b6b9e50143b9 100644
|
| --- a/chrome/browser/media_galleries/fileapi/iapps_finder_impl_mac.mm
|
| +++ b/chrome/browser/media_galleries/fileapi/iapps_finder_impl_mac.mm
|
| @@ -9,6 +9,7 @@
|
| #include "base/logging.h"
|
| #import "base/mac/foundation_util.h"
|
| #import "base/mac/scoped_nsobject.h"
|
| +#include "base/strings/sys_string_conversions.h"
|
| #include "base/time/time.h"
|
| #include "chrome/browser/storage_monitor/storage_info.h"
|
| #include "components/policy/core/common/preferences_mac.h"
|
| @@ -112,4 +113,11 @@ void SetMacPreferencesForTesting(MacPreferences* preferences) {
|
| g_test_mac_preferences = preferences;
|
| }
|
|
|
| +NSArray* NSArrayFromFilePath(const base::FilePath& path) {
|
| + NSString* url =
|
| + [[NSURL fileURLWithPath:base::SysUTF8ToNSString(path.value())]
|
| + absoluteString];
|
| + return [NSArray arrayWithObject:url];
|
| +}
|
| +
|
| } // namespace iapps
|
|
|