OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 | 4 |
5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IAPPS_FINDER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IAPPS_FINDER_IMPL_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IAPPS_FINDER_IMPL_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IAPPS_FINDER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "build/build_config.h" |
12 #include "chrome/browser/media_galleries/fileapi/iapps_finder.h" | 13 #include "chrome/browser/media_galleries/fileapi/iapps_finder.h" |
13 #include "components/storage_monitor/storage_info.h" | 14 #include "components/storage_monitor/storage_info.h" |
14 | 15 |
15 #if defined(OS_MACOSX) | 16 #if defined(OS_MACOSX) |
16 | 17 |
17 class MacPreferences; | 18 class MacPreferences; |
18 #if defined(__OBJC__) | 19 #if defined(__OBJC__) |
19 @class NSArray; | 20 @class NSArray; |
20 @class NSString; | 21 @class NSString; |
21 #else // __OBJC__ | 22 #else // __OBJC__ |
(...skipping 26 matching lines...) Expand all Loading... |
48 // bouncing to the FILE thread to run |task| and then turning the result into a | 49 // bouncing to the FILE thread to run |task| and then turning the result into a |
49 // device id and posting it to |callback| on the UI thread. If |task| does not | 50 // device id and posting it to |callback| on the UI thread. If |task| does not |
50 // find the iApps's library, |callback| gets an empty string. | 51 // find the iApps's library, |callback| gets an empty string. |
51 void FindIAppsOnFileThread(storage_monitor::StorageInfo::Type type, | 52 void FindIAppsOnFileThread(storage_monitor::StorageInfo::Type type, |
52 const IAppsFinderTask& task, | 53 const IAppsFinderTask& task, |
53 const IAppsFinderCallback& callback); | 54 const IAppsFinderCallback& callback); |
54 | 55 |
55 } // namespace iapps | 56 } // namespace iapps |
56 | 57 |
57 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IAPPS_FINDER_IMPL_H_ | 58 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_IAPPS_FINDER_IMPL_H_ |
OLD | NEW |