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

Side by Side Diff: chrome/browser/safe_browsing/malware_details.h

Issue 11740018: Cleanup: Remove more unneeded browser_thread.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 7 years, 11 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
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 #ifndef CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_
7 7
8 // A class that encapsulates the detailed malware reports sent when 8 // A class that encapsulates the detailed malware reports sent when
9 // users opt-in to do so from the malware warning page. 9 // users opt-in to do so from the malware warning page.
10 10
11 // An instance of this class is generated when a malware warning page 11 // An instance of this class is generated when a malware warning page
12 // is shown (SafeBrowsingBlockingPage). 12 // is shown (SafeBrowsingBlockingPage).
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/gtest_prod_util.h" 17 #include "base/gtest_prod_util.h"
18 #include "base/hash_tables.h" 18 #include "base/hash_tables.h"
19 #include "base/memory/linked_ptr.h" 19 #include "base/memory/linked_ptr.h"
20 #include "base/memory/ref_counted.h" 20 #include "base/memory/ref_counted.h"
21 #include "base/memory/scoped_ptr.h" 21 #include "base/memory/scoped_ptr.h"
22 #include "chrome/browser/safe_browsing/report.pb.h" 22 #include "chrome/browser/safe_browsing/report.pb.h"
23 #include "chrome/browser/safe_browsing/ui_manager.h" 23 #include "chrome/browser/safe_browsing/ui_manager.h"
24 #include "content/public/browser/browser_thread.h"
25 #include "content/public/browser/web_contents_observer.h" 24 #include "content/public/browser/web_contents_observer.h"
26 #include "net/base/completion_callback.h" 25 #include "net/base/completion_callback.h"
27 26
28 namespace net { 27 namespace net {
29 class URLRequestContextGetter; 28 class URLRequestContextGetter;
30 } 29 }
31 30
32 class MalwareDetailsCacheCollector; 31 class MalwareDetailsCacheCollector;
33 class MalwareDetailsRedirectsCollector; 32 class MalwareDetailsRedirectsCollector;
34 class MalwareDetailsFactory; 33 class MalwareDetailsFactory;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 public: 156 public:
158 virtual ~MalwareDetailsFactory() { } 157 virtual ~MalwareDetailsFactory() { }
159 158
160 virtual MalwareDetails* CreateMalwareDetails( 159 virtual MalwareDetails* CreateMalwareDetails(
161 SafeBrowsingUIManager* ui_manager, 160 SafeBrowsingUIManager* ui_manager,
162 content::WebContents* web_contents, 161 content::WebContents* web_contents,
163 const SafeBrowsingUIManager::UnsafeResource& unsafe_resource) = 0; 162 const SafeBrowsingUIManager::UnsafeResource& unsafe_resource) = 0;
164 }; 163 };
165 164
166 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_ 165 #endif // CHROME_BROWSER_SAFE_BROWSING_MALWARE_DETAILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/database_manager.h ('k') | chrome/browser/safe_browsing/protocol_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698