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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 int* highest_rendered_page_number, | 84 int* highest_rendered_page_number, |
85 double* scale_factor); | 85 double* scale_factor); |
86 #endif // defined(OS_WIN) | 86 #endif // defined(OS_WIN) |
87 | 87 |
88 bool RenderPDFPagesToPWGRaster( | 88 bool RenderPDFPagesToPWGRaster( |
89 base::PlatformFile pdf_file, | 89 base::PlatformFile pdf_file, |
90 const printing::PdfRenderSettings& settings, | 90 const printing::PdfRenderSettings& settings, |
91 base::PlatformFile bitmap_file); | 91 base::PlatformFile bitmap_file); |
92 | 92 |
93 void OnGetPrinterCapsAndDefaults(const std::string& printer_name); | 93 void OnGetPrinterCapsAndDefaults(const std::string& printer_name); |
| 94 void OnPatchFileBsdiff(const base::FilePath& input_file, |
| 95 const base::FilePath& patch_file, |
| 96 const base::FilePath& output_file); |
| 97 void OnPatchFileCourgette(const base::FilePath& input_file, |
| 98 const base::FilePath& patch_file, |
| 99 const base::FilePath& output_file); |
94 void OnStartupPing(); | 100 void OnStartupPing(); |
95 void OnAnalyzeZipFileForDownloadProtection( | 101 void OnAnalyzeZipFileForDownloadProtection( |
96 const IPC::PlatformFileForTransit& zip_file); | 102 const IPC::PlatformFileForTransit& zip_file); |
97 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 103 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
98 void OnCheckMediaFile(int64 milliseconds_of_decoding, | 104 void OnCheckMediaFile(int64 milliseconds_of_decoding, |
99 const IPC::PlatformFileForTransit& media_file); | 105 const IPC::PlatformFileForTransit& media_file); |
100 void OnParseMediaMetadata(const std::string& mime_type, int64 total_size); | 106 void OnParseMediaMetadata(const std::string& mime_type, int64 total_size); |
101 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 107 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
102 | 108 |
103 #if defined(OS_WIN) | 109 #if defined(OS_WIN) |
(...skipping 23 matching lines...) Expand all Loading... |
127 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 133 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
128 scoped_ptr<metadata::MediaMetadataParser> media_metadata_parser_; | 134 scoped_ptr<metadata::MediaMetadataParser> media_metadata_parser_; |
129 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 135 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
130 | 136 |
131 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); | 137 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); |
132 }; | 138 }; |
133 | 139 |
134 } // namespace chrome | 140 } // namespace chrome |
135 | 141 |
136 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 142 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
OLD | NEW |