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

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

Issue 20572004: Add media file validation to utility process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final nits Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/utility/DEPS ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 int render_dpi, 74 int render_dpi,
75 bool autorotate, 75 bool autorotate,
76 const std::vector<printing::PageRange>& page_ranges, 76 const std::vector<printing::PageRange>& page_ranges,
77 int* highest_rendered_page_number, 77 int* highest_rendered_page_number,
78 double* scale_factor); 78 double* scale_factor);
79 #endif // defined(OS_WIN) 79 #endif // defined(OS_WIN)
80 80
81 void OnGetPrinterCapsAndDefaults(const std::string& printer_name); 81 void OnGetPrinterCapsAndDefaults(const std::string& printer_name);
82 void OnStartupPing(); 82 void OnStartupPing();
83 void OnAnalyzeZipFileForDownloadProtection( 83 void OnAnalyzeZipFileForDownloadProtection(
84 IPC::PlatformFileForTransit zip_file); 84 const IPC::PlatformFileForTransit& zip_file);
85 #if !defined(OS_ANDROID) && !defined(OS_IOS)
86 void OnCheckMediaFile(int64 milliseconds_of_decoding,
87 const IPC::PlatformFileForTransit& media_file);
88 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
85 89
86 #if defined(OS_WIN) 90 #if defined(OS_WIN)
87 void OnParseITunesPrefXml(const std::string& itunes_xml_data); 91 void OnParseITunesPrefXml(const std::string& itunes_xml_data);
88 #endif // defined(OS_WIN) 92 #endif // defined(OS_WIN)
89 93
90 #if defined(OS_WIN) || defined(OS_MACOSX) 94 #if defined(OS_WIN) || defined(OS_MACOSX)
91 void OnParseITunesLibraryXmlFile( 95 void OnParseITunesLibraryXmlFile(
92 IPC::PlatformFileForTransit itunes_library_file); 96 const IPC::PlatformFileForTransit& itunes_library_file);
93 97
94 void OnParsePicasaPMPDatabase( 98 void OnParsePicasaPMPDatabase(
95 const picasa::AlbumTableFilesForTransit& album_table_files); 99 const picasa::AlbumTableFilesForTransit& album_table_files);
96 100
97 void OnIndexPicasaAlbumsContents( 101 void OnIndexPicasaAlbumsContents(
98 const picasa::AlbumUIDSet& album_uids, 102 const picasa::AlbumUIDSet& album_uids,
99 const std::vector<picasa::FolderINIContents>& folders_inis); 103 const std::vector<picasa::FolderINIContents>& folders_inis);
100 #endif // defined(OS_WIN) || defined(OS_MACOSX) 104 #endif // defined(OS_WIN) || defined(OS_MACOSX)
101 105
102 typedef ScopedVector<UtilityMessageHandler> Handlers; 106 typedef ScopedVector<UtilityMessageHandler> Handlers;
103 Handlers handlers_; 107 Handlers handlers_;
104 108
105 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); 109 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient);
106 }; 110 };
107 111
108 } // namespace chrome 112 } // namespace chrome
109 113
110 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 114 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/utility/DEPS ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698