summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_service.h')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_service.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h
index 050437a..acecf4e 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.h
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h
@@ -59,6 +59,9 @@ class SafeBrowsingService
// Structure used to pass parameters between the IO and UI thread when
// interacting with the blocking page.
struct UnsafeResource {
+ UnsafeResource();
+ ~UnsafeResource();
+
GURL url;
GURL original_url;
ResourceType::Type resource_type;
@@ -70,6 +73,9 @@ class SafeBrowsingService
// Bundle of SafeBrowsing state for one URL check.
struct SafeBrowsingCheck {
+ SafeBrowsingCheck();
+ ~SafeBrowsingCheck();
+
GURL url;
Client* client;
bool need_get_hash;
@@ -77,6 +83,9 @@ class SafeBrowsingService
UrlCheckResult result;
std::vector<SBPrefix> prefix_hits;
std::vector<SBFullHashResult> full_hits;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SafeBrowsingCheck);
};
// Creates the safe browsing service. Need to initialize before using.