summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_util.cc')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_util.cc25
1 files changed, 25 insertions, 0 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_util.cc b/chrome/browser/safe_browsing/safe_browsing_util.cc
index d81260f..0f99bf2 100644
--- a/chrome/browser/safe_browsing/safe_browsing_util.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_util.cc
@@ -27,9 +27,24 @@ static const char kContinueUrlFormat[] =
static const char kReportParams[] = "?tpl=%s&continue=%s&url=%s";
+// SBChunk ---------------------------------------------------------------------
+
+SBChunk::SBChunk()
+ : chunk_number(0),
+ list_id(0),
+ is_add(false) {
+}
+
+SBChunk::~SBChunk() {}
// SBChunkList -----------------------------------------------------------------
+SBChunkList::SBChunkList() {}
+
+SBChunkList::~SBChunkList() {
+ clear();
+}
+
void SBChunkList::clear() {
for (std::vector<SBChunk>::iterator citer = chunks_.begin();
citer != chunks_.end(); ++citer) {
@@ -44,6 +59,16 @@ void SBChunkList::clear() {
chunks_.clear();
}
+// SBListChunkRanges -----------------------------------------------------------
+
+SBListChunkRanges::SBListChunkRanges(const std::string& n) : name(n) {}
+
+// SBChunkDelete ---------------------------------------------------------------
+
+SBChunkDelete::SBChunkDelete() : is_sub_del(false) {}
+
+SBChunkDelete::~SBChunkDelete() {}
+
// SBEntry ---------------------------------------------------------------------
// static