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

Side by Side Diff: chrome/renderer/safe_browsing/malware_dom_details.h

Issue 8539005: Cleanup: Remove unneeded forward declarations in chrome/renderer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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/renderer/print_web_view_helper.h ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // MalwareDOMDetails iterates over a document's frames and gathers 5 // MalwareDOMDetails iterates over a document's frames and gathers
6 // interesting URLs such as those of scripts and frames. When done, it sends 6 // interesting URLs such as those of scripts and frames. When done, it sends
7 // them to the MalwareDetails that requested them. 7 // them to the MalwareDetails that requested them.
8 8
9 #ifndef CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ 9 #ifndef CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_
10 #define CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ 10 #define CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_
11 11
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/task.h" 18 #include "base/task.h"
19 #include "content/public/renderer/render_view_observer.h" 19 #include "content/public/renderer/render_view_observer.h"
20 20
21 class GURL;
22
23 namespace WebKit { 21 namespace WebKit {
24 class WebElement; 22 class WebElement;
25 class WebFrame;
26 } 23 }
27 24
28 struct SafeBrowsingHostMsg_MalwareDOMDetails_Node; 25 struct SafeBrowsingHostMsg_MalwareDOMDetails_Node;
29 26
30 namespace safe_browsing { 27 namespace safe_browsing {
31 28
32 // There is one MalwareDOMDetails per RenderView. 29 // There is one MalwareDOMDetails per RenderView.
33 class MalwareDOMDetails : public content::RenderViewObserver { 30 class MalwareDOMDetails : public content::RenderViewObserver {
34 public: 31 public:
35 // An upper limit on the number of nodes we collect. Not const for the test. 32 // An upper limit on the number of nodes we collect. Not const for the test.
(...skipping 23 matching lines...) Expand all
59 const WebKit::WebElement& element, 56 const WebKit::WebElement& element,
60 SafeBrowsingHostMsg_MalwareDOMDetails_Node* parent_node, 57 SafeBrowsingHostMsg_MalwareDOMDetails_Node* parent_node,
61 std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources); 58 std::vector<SafeBrowsingHostMsg_MalwareDOMDetails_Node>* resources);
62 59
63 DISALLOW_COPY_AND_ASSIGN(MalwareDOMDetails); 60 DISALLOW_COPY_AND_ASSIGN(MalwareDOMDetails);
64 }; 61 };
65 62
66 } // namespace safe_browsing 63 } // namespace safe_browsing
67 64
68 #endif // CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_ 65 #endif // CHROME_RENDERER_SAFE_BROWSING_MALWARE_DOM_DETAILS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/print_web_view_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698