diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 21:07:27 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 21:07:27 +0000 |
commit | d3216441b7726c31fb0ae9b9d90b64421e14ca39 (patch) | |
tree | 653882df34541ec7aa37e4024f8fce27fd9ba5b6 /chrome/browser/renderer_host | |
parent | ba61ace67a08e56026d2e8034d7a938d2f8e5bd6 (diff) | |
download | chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.zip chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.tar.gz chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.tar.bz2 |
NO CODE CHANGE.
Split the lines >80 cols. (Part 1)
Review URL: http://codereview.chromium.org/39206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
4 files changed, 14 insertions, 10 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc index 83a117d8..2610dba 100644 --- a/chrome/browser/renderer_host/browser_render_process_host.cc +++ b/chrome/browser/renderer_host/browser_render_process_host.cc @@ -758,8 +758,9 @@ void BrowserRenderProcessHost::OnChannelConnected(int32 peer_pid) { } // Static. This function can be called from the IO Thread or from the UI thread. -void BrowserRenderProcessHost::BadMessageTerminateProcess(uint16 msg_type, - base::ProcessHandle process) { +void BrowserRenderProcessHost::BadMessageTerminateProcess( + uint16 msg_type, + base::ProcessHandle process) { LOG(ERROR) << "bad message " << msg_type << " terminating renderer."; if (BrowserRenderProcessHost::run_renderer_in_process()) { // In single process mode it is better if we don't suicide but just crash. diff --git a/chrome/browser/renderer_host/render_widget_host.cc b/chrome/browser/renderer_host/render_widget_host.cc index 6951e3d..3e45ba5 100644 --- a/chrome/browser/renderer_host/render_widget_host.cc +++ b/chrome/browser/renderer_host/render_widget_host.cc @@ -449,8 +449,8 @@ void RenderWidgetHost::OnMsgPaintRect( process()->ReceivedBadMessage(ViewHostMsg_PaintRect__ID); } else { // Paint the backing store. This will update it with the renderer-supplied - // bits. The view will read out of the backing store later to actually draw - // to the screen. + // bits. The view will read out of the backing store later to actually + // draw to the screen. PaintBackingStoreRect(dib, params.bitmap_rect, params.view_size); } } diff --git a/chrome/browser/renderer_host/renderer_security_policy.cc b/chrome/browser/renderer_host/renderer_security_policy.cc index e33b0d1..d79dced 100644 --- a/chrome/browser/renderer_host/renderer_security_policy.cc +++ b/chrome/browser/renderer_host/renderer_security_policy.cc @@ -134,7 +134,8 @@ bool RendererSecurityPolicy::IsWebSafeScheme(const std::string& scheme) { void RendererSecurityPolicy::RegisterPseudoScheme(const std::string& scheme) { AutoLock lock(lock_); DCHECK(pseudo_schemes_.count(scheme) == 0) << "Add schemes at most once."; - DCHECK(web_safe_schemes_.count(scheme) == 0) << "Psuedo implies not web-safe."; + DCHECK(web_safe_schemes_.count(scheme) == 0) << + "Psuedo implies not web-safe."; pseudo_schemes_.insert(scheme); } @@ -159,8 +160,8 @@ void RendererSecurityPolicy::GrantRequestURL(int renderer_id, const GURL& url) { if (url.SchemeIs(chrome::kViewSourceScheme)) { // URLs with the view-source scheme typically look like: // view-source:http://www.google.com/a - // In order to request these URLs, the renderer needs to be able to request - // the embedded URL. + // In order to request these URLs, the renderer needs to be able to + // request the embedded URL. GrantRequestURL(renderer_id, GURL(url.path())); } diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.h b/chrome/browser/renderer_host/resource_dispatcher_host.h index a64463f..0caf6ab 100644 --- a/chrome/browser/renderer_host/resource_dispatcher_host.h +++ b/chrome/browser/renderer_host/resource_dispatcher_host.h @@ -153,8 +153,9 @@ class ResourceDispatcherHost : public URLRequest::Delegate { public: virtual void OnRequestStarted(ResourceDispatcherHost* resource_dispatcher, URLRequest* request) = 0; - virtual void OnResponseCompleted(ResourceDispatcherHost* resource_dispatcher, - URLRequest* request) = 0; + virtual void OnResponseCompleted( + ResourceDispatcherHost* resource_dispatcher, + URLRequest* request) = 0; virtual void OnReceivedRedirect(ResourceDispatcherHost* resource_dispatcher, URLRequest* request, const GURL& new_url) = 0; @@ -310,7 +311,8 @@ class ResourceDispatcherHost : public URLRequest::Delegate { return r; } - static const ExtraRequestInfo* ExtraInfoForRequest(const URLRequest* request) { + static const ExtraRequestInfo* ExtraInfoForRequest( + const URLRequest* request) { const ExtraRequestInfo* r = static_cast<const ExtraRequestInfo*>(request->user_data()); DLOG_IF(WARNING, !r) << "Request doesn't seem to have our data"; |