diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 00:19:17 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-06 00:19:17 +0000 |
commit | 5986ed239f7f2fc3f6b1d5f6385819151ae533db (patch) | |
tree | a07be3bc493c5dd34c5f62c6195a85c49ec22c2a /chrome/common/temp_scaffolding_stubs.cc | |
parent | 8ad85c0ef39433a26a0093853f34d7eec9be0706 (diff) | |
download | chromium_src-5986ed239f7f2fc3f6b1d5f6385819151ae533db.zip chromium_src-5986ed239f7f2fc3f6b1d5f6385819151ae533db.tar.gz chromium_src-5986ed239f7f2fc3f6b1d5f6385819151ae533db.tar.bz2 |
Make ResourceMessageFilter compile on Mac. It stubs out a substantial part of
the printing. It creates new base functions for converting PIDs to handles, and
then closing them (since Windows requires this). This also fixes the formatting
of image_util.
Review URL: http://codereview.chromium.org/20109
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.cc')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.cc | 44 |
1 files changed, 9 insertions, 35 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc index df04efe..f902539 100644 --- a/chrome/common/temp_scaffolding_stubs.cc +++ b/chrome/common/temp_scaffolding_stubs.cc @@ -259,7 +259,8 @@ void SetRecordPlaybackMode(bool) { } void SetJavaScriptFlags(const std::wstring&) { } void CheckForLeaks() { } std::string CreateHistoryStateForURL(const GURL& url) { return ""; } -} +void GetScreenInfoHelper(NSView*) { NOTIMPLEMENTED(); } +} // namespace webkit_glue #endif //-------------------------------------------------------------------------- @@ -267,11 +268,18 @@ std::string CreateHistoryStateForURL(const GURL& url) { return ""; } namespace chrome_browser_net { void EnableDnsPrefetch(bool) { NOTIMPLEMENTED(); } + +void DnsPrefetchList(const std::vector<std::string>& hostnames) { NOTIMPLEMENTED(); } } // namespace chrome_browser_net //-------------------------------------------------------------------------- +// This is from chrome_plugin_util.cc. +void CPB_Free(void* memory) { NOTIMPLEMENTED(); } + +//-------------------------------------------------------------------------- + void RunJavascriptMessageBox(WebContents* web_contents, int dialog_flags, const std::wstring& message_text, @@ -303,40 +311,6 @@ void SSLManager::OnSSLCertificateError( //-------------------------------------------------------------------------- -ResourceMessageFilter::ResourceMessageFilter( - ResourceDispatcherHost* resource_dispatcher_host, - PluginService* plugin_service, - printing::PrintJobManager* print_job_manager, - int render_process_host_id, - Profile* profile, - RenderWidgetHelper* render_widget_helper, - SpellChecker* spellchecker) - : ALLOW_THIS_IN_INITIALIZER_LIST(resolve_proxy_msg_helper_(this, NULL)) { -} -ResourceMessageFilter::~ResourceMessageFilter() { NOTIMPLEMENTED(); } -void ResourceMessageFilter::OnFilterAdded(IPC::Channel* channel) { - NOTIMPLEMENTED(); -} -void ResourceMessageFilter::OnChannelConnected(int32 peer_pid) { - NOTIMPLEMENTED(); -} -void ResourceMessageFilter::OnChannelClosing() { NOTIMPLEMENTED(); } -bool ResourceMessageFilter::OnMessageReceived(const IPC::Message& message) { - NOTIMPLEMENTED(); - return false; -} -bool ResourceMessageFilter::Send(IPC::Message* message) { - NOTIMPLEMENTED(); - return false; -} -void ResourceMessageFilter::Observe(NotificationType type, - const NotificationSource& source, - const NotificationDetails& details) { } -void ResourceMessageFilter::OnResolveProxyCompleted( - IPC::Message* reply_msg,int result, const std::string& proxy_list) { - NOTIMPLEMENTED(); -} - void RunRepostFormWarningDialog(NavigationController*) { } |