summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/protocol_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/protocol_manager.h')
-rw-r--r--chrome/browser/safe_browsing/protocol_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/safe_browsing/protocol_manager.h b/chrome/browser/safe_browsing/protocol_manager.h
index e267bcb..7bf2d48 100644
--- a/chrome/browser/safe_browsing/protocol_manager.h
+++ b/chrome/browser/safe_browsing/protocol_manager.h
@@ -49,6 +49,7 @@ class SafeBrowsingProtocolManager : public URLFetcher::Delegate {
public:
SafeBrowsingProtocolManager(SafeBrowsingService* sb_service,
+ const std::string& client_name,
const std::string& client_key,
const std::string& wrapped_key);
~SafeBrowsingProtocolManager();
@@ -232,6 +233,9 @@ class SafeBrowsingProtocolManager : public URLFetcher::Delegate {
// Track outstanding malware report fetchers for clean up.
std::set<const URLFetcher*> malware_reports_;
+ // The safe browsing client name sent in each request.
+ std::string client_name_;
+
DISALLOW_COPY_AND_ASSIGN(SafeBrowsingProtocolManager);
};