OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 5 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 const base::FilePath& output_file); | 100 const base::FilePath& output_file); |
101 void OnPatchFileCourgette(const base::FilePath& input_file, | 101 void OnPatchFileCourgette(const base::FilePath& input_file, |
102 const base::FilePath& patch_file, | 102 const base::FilePath& patch_file, |
103 const base::FilePath& output_file); | 103 const base::FilePath& output_file); |
104 void OnStartupPing(); | 104 void OnStartupPing(); |
105 void OnAnalyzeZipFileForDownloadProtection( | 105 void OnAnalyzeZipFileForDownloadProtection( |
106 const IPC::PlatformFileForTransit& zip_file); | 106 const IPC::PlatformFileForTransit& zip_file); |
107 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 107 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
108 void OnCheckMediaFile(int64 milliseconds_of_decoding, | 108 void OnCheckMediaFile(int64 milliseconds_of_decoding, |
109 const IPC::PlatformFileForTransit& media_file); | 109 const IPC::PlatformFileForTransit& media_file); |
110 void OnParseMediaMetadata(const std::string& mime_type, int64 total_size); | 110 void OnParseMediaMetadata(const std::string& mime_type, int64 total_size, |
| 111 bool get_attached_images); |
111 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 112 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
112 | 113 |
113 #if defined(OS_WIN) | 114 #if defined(OS_WIN) |
114 void OnParseITunesPrefXml(const std::string& itunes_xml_data); | 115 void OnParseITunesPrefXml(const std::string& itunes_xml_data); |
115 #endif // defined(OS_WIN) | 116 #endif // defined(OS_WIN) |
116 | 117 |
117 #if defined(OS_MACOSX) | 118 #if defined(OS_MACOSX) |
118 void OnParseIPhotoLibraryXmlFile( | 119 void OnParseIPhotoLibraryXmlFile( |
119 const IPC::PlatformFileForTransit& iphoto_library_file); | 120 const IPC::PlatformFileForTransit& iphoto_library_file); |
120 #endif // defined(OS_MACOSX) | 121 #endif // defined(OS_MACOSX) |
(...skipping 22 matching lines...) Expand all Loading... |
143 bool filter_messages_; | 144 bool filter_messages_; |
144 // A list of message_ids to filter. | 145 // A list of message_ids to filter. |
145 std::set<int> message_id_whitelist_; | 146 std::set<int> message_id_whitelist_; |
146 | 147 |
147 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); | 148 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); |
148 }; | 149 }; |
149 | 150 |
150 } // namespace chrome | 151 } // namespace chrome |
151 | 152 |
152 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 153 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
OLD | NEW |