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

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

Issue 2744503002: Revert of Move chrome/common/safe_browsing/csd.proto to components/safe_browsing (Closed)
Patch Set: Created 3 years, 9 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
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_THREAT_DETAILS_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_H_
7 7
8 // A class that encapsulates the detailed threat reports sent when 8 // A class that encapsulates the detailed threat reports sent when
9 // users opt-in to do so from the safe browsing warning page. 9 // users opt-in to do so from the safe browsing warning page.
10 10
11 // An instance of this class is generated when a safe browsing warning page 11 // An instance of this class is generated when a safe browsing warning page
12 // is shown (SafeBrowsingBlockingPage). 12 // is shown (SafeBrowsingBlockingPage).
13 13
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 #include <unordered_set> 16 #include <unordered_set>
17 #include <vector> 17 #include <vector>
18 18
19 #include "base/containers/hash_tables.h" 19 #include "base/containers/hash_tables.h"
20 #include "base/feature_list.h" 20 #include "base/feature_list.h"
21 #include "base/gtest_prod_util.h" 21 #include "base/gtest_prod_util.h"
22 #include "base/macros.h" 22 #include "base/macros.h"
23 #include "base/memory/ref_counted.h" 23 #include "base/memory/ref_counted.h"
24 #include "chrome/browser/safe_browsing/ui_manager.h" 24 #include "chrome/browser/safe_browsing/ui_manager.h"
25 #include "chrome/common/safe_browsing/csd.pb.h"
25 #include "components/safe_browsing/common/safebrowsing_types.h" 26 #include "components/safe_browsing/common/safebrowsing_types.h"
26 #include "components/safe_browsing/csd.pb.h"
27 #include "content/public/browser/browser_thread.h" 27 #include "content/public/browser/browser_thread.h"
28 #include "content/public/browser/web_contents_observer.h" 28 #include "content/public/browser/web_contents_observer.h"
29 #include "net/base/completion_callback.h" 29 #include "net/base/completion_callback.h"
30 30
31 namespace net { 31 namespace net {
32 class URLRequestContextGetter; 32 class URLRequestContextGetter;
33 } 33 }
34 34
35 class Profile; 35 class Profile;
36 struct SafeBrowsingHostMsg_ThreatDOMDetails_Node; 36 struct SafeBrowsingHostMsg_ThreatDOMDetails_Node;
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 246
247 virtual ThreatDetails* CreateThreatDetails( 247 virtual ThreatDetails* CreateThreatDetails(
248 BaseUIManager* ui_manager, 248 BaseUIManager* ui_manager,
249 content::WebContents* web_contents, 249 content::WebContents* web_contents,
250 const SafeBrowsingUIManager::UnsafeResource& unsafe_resource) = 0; 250 const SafeBrowsingUIManager::UnsafeResource& unsafe_resource) = 0;
251 }; 251 };
252 252
253 } // namespace safe_browsing 253 } // namespace safe_browsing
254 254
255 #endif // CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_H_ 255 #endif // CHROME_BROWSER_SAFE_BROWSING_THREAT_DETAILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/signature_evaluator_mac_unittest.cc ('k') | chrome/browser/safe_browsing/threat_details_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698