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

Unified Diff: chrome/plugin/webplugin_delegate_stub.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/plugin/npobject_stub.cc ('k') | chrome/plugin/webplugin_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/webplugin_delegate_stub.cc
===================================================================
--- chrome/plugin/webplugin_delegate_stub.cc (revision 31932)
+++ chrome/plugin/webplugin_delegate_stub.cc (working copy)
@@ -59,7 +59,7 @@
WebPluginDelegateStub::~WebPluginDelegateStub() {
in_destructor_ = true;
- child_process_logging::ScopedActiveURLSetter url_setter(page_url_);
+ child_process_logging::SetActiveURL(page_url_);
if (channel_->in_send()) {
// The delegate or an npobject is in the callstack, so don't delete it
@@ -76,7 +76,7 @@
}
void WebPluginDelegateStub::OnMessageReceived(const IPC::Message& msg) {
- child_process_logging::ScopedActiveURLSetter url_setter(page_url_);
+ child_process_logging::SetActiveURL(page_url_);
// A plugin can execute a script to delete itself in any of its NPP methods.
// Hold an extra reference to ourself so that if this does occur and we're
@@ -128,7 +128,7 @@
void WebPluginDelegateStub::OnInit(const PluginMsg_Init_Params& params,
bool* result) {
page_url_ = params.page_url;
- child_process_logging::ScopedActiveURLSetter url_setter(page_url_);
+ child_process_logging::SetActiveURL(page_url_);
*result = false;
if (params.arg_names.size() != params.arg_values.size()) {
« no previous file with comments | « chrome/plugin/npobject_stub.cc ('k') | chrome/plugin/webplugin_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698