diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-24 01:34:35 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-24 01:34:35 +0000 |
commit | fffaf977dfde05c9d227bfd6951c7e7c65894154 (patch) | |
tree | 8c89b3dd78b35ea27ad43de6381b74b3a24e1f67 /chrome/renderer/safe_browsing/malware_dom_details.h | |
parent | fe641c8aa8e5471c85fccac181c8db3b9dfef2b5 (diff) | |
download | chromium_src-fffaf977dfde05c9d227bfd6951c7e7c65894154.zip chromium_src-fffaf977dfde05c9d227bfd6951c7e7c65894154.tar.gz chromium_src-fffaf977dfde05c9d227bfd6951c7e7c65894154.tar.bz2 |
Move the rest of the renderer->browser messages that belong in content. Also do a bunch of cleanup:
-move safe browsing messages together
-get rid of webkit_param_traits and common_param_trait since they're no longer needed
-remove the multiple include of IPC files from places that don't need it
TBR=tsepez
Review URL: http://codereview.chromium.org/6713084
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79235 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/safe_browsing/malware_dom_details.h')
-rw-r--r-- | chrome/renderer/safe_browsing/malware_dom_details.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/renderer/safe_browsing/malware_dom_details.h b/chrome/renderer/safe_browsing/malware_dom_details.h index b042cba..58f7b10 100644 --- a/chrome/renderer/safe_browsing/malware_dom_details.h +++ b/chrome/renderer/safe_browsing/malware_dom_details.h @@ -26,8 +26,7 @@ class WebElement; class WebFrame; } -struct ViewHostMsg_MalwareDOMDetails_Params; -struct ViewHostMsg_MalwareDOMDetails_Node; +struct SafeBrowsingHostMsg_MalwareDOMDetails_Node; namespace safe_browsing { @@ -45,7 +44,8 @@ class MalwareDOMDetails : public RenderViewObserver { // Begins extracting resource urls for the page currently loaded in // this object's RenderView. - void ExtractResources(ViewHostMsg_MalwareDOMDetails_Params* resources); + void ExtractResources( + std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources); private: // RenderViewObserver implementation. @@ -54,9 +54,10 @@ class MalwareDOMDetails : public RenderViewObserver { void OnGetMalwareDOMDetails(); // Handler for the various HTML elements that we extract URLs from. - void HandleElement(const WebKit::WebElement& element, - ViewHostMsg_MalwareDOMDetails_Node* parent_node, - ViewHostMsg_MalwareDOMDetails_Params* resources); + void HandleElement( + const WebKit::WebElement& element, + SafeBrowsingHostMsg_MalwareDOMDetails_Node* parent_node, + std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources); // Non-owned pointer to the view that we will extract features from. RenderView* render_view_; |