Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Side by Side Diff: chrome/utility/chrome_content_utility_client.h

Issue 25909005: Use UtilityProcessHost to patch files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nonblocking
Patch Set: sorin@ review + rebase to LKGR r253860 Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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);
95 void OnStartupPing(); 101 void OnStartupPing();
96 void OnAnalyzeZipFileForDownloadProtection( 102 void OnAnalyzeZipFileForDownloadProtection(
97 const IPC::PlatformFileForTransit& zip_file); 103 const IPC::PlatformFileForTransit& zip_file);
98 #if !defined(OS_ANDROID) && !defined(OS_IOS) 104 #if !defined(OS_ANDROID) && !defined(OS_IOS)
99 void OnCheckMediaFile(int64 milliseconds_of_decoding, 105 void OnCheckMediaFile(int64 milliseconds_of_decoding,
100 const IPC::PlatformFileForTransit& media_file); 106 const IPC::PlatformFileForTransit& media_file);
101 void OnParseMediaMetadata(const std::string& mime_type, int64 total_size); 107 void OnParseMediaMetadata(const std::string& mime_type, int64 total_size);
102 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 108 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
103 109
104 #if defined(OS_WIN) 110 #if defined(OS_WIN)
(...skipping 28 matching lines...) Expand all
133 bool filter_messages_; 139 bool filter_messages_;
134 // A list of message_ids to filter. 140 // A list of message_ids to filter.
135 std::set<int> message_id_whitelist_; 141 std::set<int> message_id_whitelist_;
136 142
137 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); 143 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient);
138 }; 144 };
139 145
140 } // namespace chrome 146 } // namespace chrome
141 147
142 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 148 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698