| Index: components/safe_browsing_db/util.cc
|
| diff --git a/components/safe_browsing_db/util.cc b/components/safe_browsing_db/util.cc
|
| index 8d95b9c849f023118976d63f79e53d5cf542edcf..27f71bf5864a42c57fd4d0280b502c80abe4a201 100644
|
| --- a/components/safe_browsing_db/util.cc
|
| +++ b/components/safe_browsing_db/util.cc
|
| @@ -10,12 +10,14 @@
|
| #include "url/gurl.h"
|
| #include "url/url_util.h"
|
|
|
| +namespace safe_browsing {
|
| +
|
| // Utility functions -----------------------------------------------------------
|
|
|
| namespace {
|
| bool IsKnownList(const std::string& name) {
|
| - for (size_t i = 0; i < arraysize(safe_browsing::kAllLists); ++i) {
|
| - if (!strcmp(safe_browsing::kAllLists[i], name.c_str())) {
|
| + for (size_t i = 0; i < arraysize(kAllLists); ++i) {
|
| + if (!strcmp(kAllLists[i], name.c_str())) {
|
| return true;
|
| }
|
| }
|
| @@ -23,7 +25,6 @@ bool IsKnownList(const std::string& name) {
|
| }
|
| } // namespace
|
|
|
| -
|
| // SBCachedFullHashResult ------------------------------------------------------
|
|
|
| SBCachedFullHashResult::SBCachedFullHashResult() {}
|
| @@ -35,8 +36,6 @@ SBCachedFullHashResult::SBCachedFullHashResult(
|
| SBCachedFullHashResult::~SBCachedFullHashResult() {}
|
|
|
|
|
| -namespace safe_browsing {
|
| -
|
| // Listnames that browser can process.
|
| const char kMalwareList[] = "goog-malware-shavar";
|
| const char kPhishingList[] = "goog-phish-shavar";
|
|
|