summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/protocol_manager.h
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 06:11:18 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 06:11:18 +0000
commit1a8715142df9c7139371ae5fe9df45193deae291 (patch)
tree75774e85b0126015654d81d40606746ff0c2e3cc /chrome/browser/safe_browsing/protocol_manager.h
parentb377fe8556b64260c99171c1ed9101bd2d621568 (diff)
downloadchromium_src-1a8715142df9c7139371ae5fe9df45193deae291.zip
chromium_src-1a8715142df9c7139371ae5fe9df45193deae291.tar.gz
chromium_src-1a8715142df9c7139371ae5fe9df45193deae291.tar.bz2
Remove build time differences between Chrome Frame and Google Chrome in the
SafeBrowsing code. BUG=26012 TEST=None Review URL: http://codereview.chromium.org/360059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31209 0039d316-1c4b-4281-b951-d872f2087c98
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);
};