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

Side by Side Diff: chrome/plugin/webplugin_delegate_stub.h

Issue 155238: Add the page url to plugin crashes to aid debugging. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months 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/npobject_util.cc ('k') | chrome/plugin/webplugin_delegate_stub.cc » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 5 #ifndef CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
11 #include "base/ref_counted.h" 11 #include "base/ref_counted.h"
12 #include "base/shared_memory.h" 12 #include "base/shared_memory.h"
13 #include "base/task.h" 13 #include "base/task.h"
14 #include "chrome/common/ipc_channel.h" 14 #include "chrome/common/ipc_channel.h"
15 #include "chrome/common/transport_dib.h" 15 #include "chrome/common/transport_dib.h"
16 #include "googleurl/src/gurl.h"
16 #include "third_party/npapi/bindings/npapi.h" 17 #include "third_party/npapi/bindings/npapi.h"
17 18
18 class GURL;
19 class PluginChannel; 19 class PluginChannel;
20 class WebPluginProxy; 20 class WebPluginProxy;
21 class WebPluginDelegate; 21 class WebPluginDelegate;
22 struct PluginMsg_Init_Params; 22 struct PluginMsg_Init_Params;
23 struct PluginMsg_DidReceiveResponseParams; 23 struct PluginMsg_DidReceiveResponseParams;
24 struct PluginMsg_URLRequestReply_Params; 24 struct PluginMsg_URLRequestReply_Params;
25 class WebCursor; 25 class WebCursor;
26 26
27 namespace WebKit { 27 namespace WebKit {
28 class WebInputEvent; 28 class WebInputEvent;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 base::SharedMemoryHandle* remote_handle); 98 base::SharedMemoryHandle* remote_handle);
99 99
100 std::string mime_type_; 100 std::string mime_type_;
101 int instance_id_; 101 int instance_id_;
102 102
103 scoped_refptr<PluginChannel> channel_; 103 scoped_refptr<PluginChannel> channel_;
104 104
105 WebPluginDelegate* delegate_; 105 WebPluginDelegate* delegate_;
106 WebPluginProxy* webplugin_; 106 WebPluginProxy* webplugin_;
107 107
108 // The url of the main frame hosting the plugin.
109 GURL page_url_;
110
108 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); 111 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub);
109 }; 112 };
110 113
111 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 114 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
OLDNEW
« no previous file with comments | « chrome/plugin/npobject_util.cc ('k') | chrome/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698