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_SAFE_IAPPS_LIBRARY_PARSER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_IAPPS_LIBRARY_PARSER_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_IAPPS_LIBRARY_PARSER_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_IAPPS_LIBRARY_PARSER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/files/file.h" | 12 #include "base/files/file.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "build/build_config.h" |
15 #include "chrome/common/media_galleries/iphoto_library.h" | 17 #include "chrome/common/media_galleries/iphoto_library.h" |
16 #include "chrome/common/media_galleries/itunes_library.h" | 18 #include "chrome/common/media_galleries/itunes_library.h" |
17 #include "content/public/browser/utility_process_host.h" | 19 #include "content/public/browser/utility_process_host.h" |
18 #include "content/public/browser/utility_process_host_client.h" | 20 #include "content/public/browser/utility_process_host_client.h" |
19 | 21 |
20 namespace IPC { | 22 namespace IPC { |
21 class Message; | 23 class Message; |
22 } | 24 } |
23 | 25 |
24 namespace iapps { | 26 namespace iapps { |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // Verifies the messages from the utility process came at the right time. | 114 // Verifies the messages from the utility process came at the right time. |
113 // Initialized on the Media Task Runner, but only accessed on the IO thread. | 115 // Initialized on the Media Task Runner, but only accessed on the IO thread. |
114 ParserState parser_state_; | 116 ParserState parser_state_; |
115 | 117 |
116 DISALLOW_COPY_AND_ASSIGN(SafeIAppsLibraryParser); | 118 DISALLOW_COPY_AND_ASSIGN(SafeIAppsLibraryParser); |
117 }; | 119 }; |
118 | 120 |
119 } // namespace iapps | 121 } // namespace iapps |
120 | 122 |
121 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_IAPPS_LIBRARY_PARSER_H_ | 123 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_IAPPS_LIBRARY_PARSER_H_ |
OLD | NEW |