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

Side by Side Diff: chrome/renderer/webplugin_delegate_proxy.cc

Issue 384130: For Mstone-4: Improve URL Logging in crash reporting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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/plugin/webplugin_proxy.cc ('k') | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "chrome/renderer/webplugin_delegate_proxy.h" 5 #include "chrome/renderer/webplugin_delegate_proxy.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/gfx/blit.h" 9 #include "app/gfx/blit.h"
10 #include "app/gfx/canvas.h" 10 #include "app/gfx/canvas.h"
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 344
345 void WebPluginDelegateProxy::DidManualLoadFail() { 345 void WebPluginDelegateProxy::DidManualLoadFail() {
346 Send(new PluginMsg_DidManualLoadFail(instance_id_)); 346 Send(new PluginMsg_DidManualLoadFail(instance_id_));
347 } 347 }
348 348
349 void WebPluginDelegateProxy::InstallMissingPlugin() { 349 void WebPluginDelegateProxy::InstallMissingPlugin() {
350 Send(new PluginMsg_InstallMissingPlugin(instance_id_)); 350 Send(new PluginMsg_InstallMissingPlugin(instance_id_));
351 } 351 }
352 352
353 void WebPluginDelegateProxy::OnMessageReceived(const IPC::Message& msg) { 353 void WebPluginDelegateProxy::OnMessageReceived(const IPC::Message& msg) {
354 child_process_logging::ScopedActiveURLSetter url_setter(page_url_); 354 child_process_logging::SetActiveURL(page_url_);
355 355
356 IPC_BEGIN_MESSAGE_MAP(WebPluginDelegateProxy, msg) 356 IPC_BEGIN_MESSAGE_MAP(WebPluginDelegateProxy, msg)
357 IPC_MESSAGE_HANDLER(PluginHostMsg_SetWindow, OnSetWindow) 357 IPC_MESSAGE_HANDLER(PluginHostMsg_SetWindow, OnSetWindow)
358 #if defined(OS_WIN) 358 #if defined(OS_WIN)
359 IPC_MESSAGE_HANDLER(PluginHostMsg_SetWindowlessPumpEvent, 359 IPC_MESSAGE_HANDLER(PluginHostMsg_SetWindowlessPumpEvent,
360 OnSetWindowlessPumpEvent) 360 OnSetWindowlessPumpEvent)
361 #endif 361 #endif
362 IPC_MESSAGE_HANDLER(PluginHostMsg_CancelResource, OnCancelResource) 362 IPC_MESSAGE_HANDLER(PluginHostMsg_CancelResource, OnCancelResource)
363 IPC_MESSAGE_HANDLER(PluginHostMsg_InvalidateRect, OnInvalidateRect) 363 IPC_MESSAGE_HANDLER(PluginHostMsg_InvalidateRect, OnInvalidateRect)
364 IPC_MESSAGE_HANDLER(PluginHostMsg_GetWindowScriptNPObject, 364 IPC_MESSAGE_HANDLER(PluginHostMsg_GetWindowScriptNPObject,
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 intptr_t existing_stream, bool notify_needed, intptr_t notify_data) { 1102 intptr_t existing_stream, bool notify_needed, intptr_t notify_data) {
1103 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(), 1103 plugin_->InitiateHTTPRangeRequest(url.c_str(), range_info.c_str(),
1104 existing_stream, notify_needed, 1104 existing_stream, notify_needed,
1105 notify_data); 1105 notify_data);
1106 } 1106 }
1107 1107
1108 void WebPluginDelegateProxy::OnDeferResourceLoading(int resource_id, 1108 void WebPluginDelegateProxy::OnDeferResourceLoading(int resource_id,
1109 bool defer) { 1109 bool defer) {
1110 plugin_->SetDeferResourceLoading(resource_id, defer); 1110 plugin_->SetDeferResourceLoading(resource_id, defer);
1111 } 1111 }
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698