| Index: chrome/browser/safe_browsing/protocol_parser.cc
|
| diff --git a/chrome/browser/safe_browsing/protocol_parser.cc b/chrome/browser/safe_browsing/protocol_parser.cc
|
| index 135e76f661cec927852e836b4971c9b07906ca2d..ffdcd768cd4378157f4112bf29b240a31e4b5881 100644
|
| --- a/chrome/browser/safe_browsing/protocol_parser.cc
|
| +++ b/chrome/browser/safe_browsing/protocol_parser.cc
|
| @@ -19,6 +19,8 @@
|
| #include "chrome/browser/safe_browsing/protocol_parser.h"
|
| #include "chrome/browser/safe_browsing/safe_browsing_util.h"
|
|
|
| +namespace safe_browsing {
|
| +
|
| namespace {
|
|
|
| // Helper class for scanning a buffer.
|
| @@ -157,8 +159,6 @@ bool ParseGetHashMetadata(size_t hash_count,
|
|
|
| } // namespace
|
|
|
| -namespace safe_browsing {
|
| -
|
| // BODY = CACHELIFETIME LF HASHENTRY* EOF
|
| // CACHELIFETIME = DIGIT+
|
| // HASHENTRY = LISTNAME ":" HASHSIZE ":" NUMRESPONSES [":m"] LF
|
| @@ -199,7 +199,7 @@ bool ParseGetHash(const char* chunk_data,
|
| return false;
|
|
|
| SBFullHashResult full_hash;
|
| - full_hash.list_id = safe_browsing::GetListId(cmd_parts[0]);
|
| + full_hash.list_id = GetListId(cmd_parts[0]);
|
|
|
| size_t hash_len;
|
| if (!base::StringToSizeT(cmd_parts[1], &hash_len))
|
|
|