| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 OnGetPrinterSemanticCapsAndDefaults(const std::string& printer_name); | 94 void OnGetPrinterSemanticCapsAndDefaults(const std::string& printer_name); |
| 95 void OnPatchFileBsdiff(const base::FilePath& input_file, | |
| 96 const base::FilePath& patch_file, | |
| 97 const base::FilePath& output_file); | |
| 98 void OnPatchFileCourgette(const base::FilePath& input_file, | |
| 99 const base::FilePath& patch_file, | |
| 100 const base::FilePath& output_file); | |
| 101 void OnStartupPing(); | 95 void OnStartupPing(); |
| 102 void OnAnalyzeZipFileForDownloadProtection( | 96 void OnAnalyzeZipFileForDownloadProtection( |
| 103 const IPC::PlatformFileForTransit& zip_file); | 97 const IPC::PlatformFileForTransit& zip_file); |
| 104 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 98 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 105 void OnCheckMediaFile(int64 milliseconds_of_decoding, | 99 void OnCheckMediaFile(int64 milliseconds_of_decoding, |
| 106 const IPC::PlatformFileForTransit& media_file); | 100 const IPC::PlatformFileForTransit& media_file); |
| 107 void OnParseMediaMetadata(const std::string& mime_type, int64 total_size); | 101 void OnParseMediaMetadata(const std::string& mime_type, int64 total_size); |
| 108 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 102 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
| 109 | 103 |
| 110 #if defined(OS_WIN) | 104 #if defined(OS_WIN) |
| (...skipping 29 matching lines...) Expand all Loading... |
| 140 bool filter_messages_; | 134 bool filter_messages_; |
| 141 // A list of message_ids to filter. | 135 // A list of message_ids to filter. |
| 142 std::set<int> message_id_whitelist_; | 136 std::set<int> message_id_whitelist_; |
| 143 | 137 |
| 144 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); | 138 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); |
| 145 }; | 139 }; |
| 146 | 140 |
| 147 } // namespace chrome | 141 } // namespace chrome |
| 148 | 142 |
| 149 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ | 143 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ |
| OLD | NEW |