From bac8784c4127d82a9d4964c93c59249af7668ab4 Mon Sep 17 00:00:00 2001 From: "hbono@chromium.org" Date: Thu, 19 Feb 2009 02:36:36 +0000 Subject: Changes line endings from CRLF to LF and add svn:eol-style to LF. No code changes. This change just changes the CRLF line endings found by your change to make your change work on Mac and Linux trybots. Review URL: http://codereview.chromium.org/21445 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10001 0039d316-1c4b-4281-b951-d872f2087c98 --- .../renderer_host/mock_render_process_host.cc | 128 ++++++++++----------- 1 file changed, 64 insertions(+), 64 deletions(-) (limited to 'chrome/browser/renderer_host/mock_render_process_host.cc') diff --git a/chrome/browser/renderer_host/mock_render_process_host.cc b/chrome/browser/renderer_host/mock_render_process_host.cc index c1c9ae9..c345b59 100644 --- a/chrome/browser/renderer_host/mock_render_process_host.cc +++ b/chrome/browser/renderer_host/mock_render_process_host.cc @@ -1,64 +1,64 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "chrome/browser/renderer_host/mock_render_process_host.h" - -MockRenderProcessHost::MockRenderProcessHost(Profile* profile) - : RenderProcessHost(profile) { -} - -MockRenderProcessHost::~MockRenderProcessHost() { -} - -bool MockRenderProcessHost::Init() { - return true; -} - -int MockRenderProcessHost::GetNextRoutingID() { - static int prev_routing_id = 0; - return ++prev_routing_id; -} - -void MockRenderProcessHost::CancelResourceRequests(int render_widget_id) { -} - -void MockRenderProcessHost::CrossSiteClosePageACK( - int new_render_process_host_id, - int new_request_id) { -} - -bool MockRenderProcessHost::WaitForPaintMsg(int render_widget_id, - const base::TimeDelta& max_delay, - IPC::Message* msg) { - return false; -} - -void MockRenderProcessHost::ReceivedBadMessage(uint16 msg_type) { -} - -void MockRenderProcessHost::WidgetRestored() { -} - -void MockRenderProcessHost::WidgetHidden() { -} - -void MockRenderProcessHost::AddWord(const std::wstring& word) { -} - -bool MockRenderProcessHost::FastShutdownIfPossible() { - return false; -} - -bool MockRenderProcessHost::Send(IPC::Message* msg) { - // Save the message in the sink. - sink_.OnMessageReceived(*msg); - delete msg; - return true; -} - -void MockRenderProcessHost::OnMessageReceived(const IPC::Message& msg) { -} - -void MockRenderProcessHost::OnChannelConnected(int32 peer_pid) { -} +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/browser/renderer_host/mock_render_process_host.h" + +MockRenderProcessHost::MockRenderProcessHost(Profile* profile) + : RenderProcessHost(profile) { +} + +MockRenderProcessHost::~MockRenderProcessHost() { +} + +bool MockRenderProcessHost::Init() { + return true; +} + +int MockRenderProcessHost::GetNextRoutingID() { + static int prev_routing_id = 0; + return ++prev_routing_id; +} + +void MockRenderProcessHost::CancelResourceRequests(int render_widget_id) { +} + +void MockRenderProcessHost::CrossSiteClosePageACK( + int new_render_process_host_id, + int new_request_id) { +} + +bool MockRenderProcessHost::WaitForPaintMsg(int render_widget_id, + const base::TimeDelta& max_delay, + IPC::Message* msg) { + return false; +} + +void MockRenderProcessHost::ReceivedBadMessage(uint16 msg_type) { +} + +void MockRenderProcessHost::WidgetRestored() { +} + +void MockRenderProcessHost::WidgetHidden() { +} + +void MockRenderProcessHost::AddWord(const std::wstring& word) { +} + +bool MockRenderProcessHost::FastShutdownIfPossible() { + return false; +} + +bool MockRenderProcessHost::Send(IPC::Message* msg) { + // Save the message in the sink. + sink_.OnMessageReceived(*msg); + delete msg; + return true; +} + +void MockRenderProcessHost::OnMessageReceived(const IPC::Message& msg) { +} + +void MockRenderProcessHost::OnChannelConnected(int32 peer_pid) { +} -- cgit v1.1