Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: chrome/browser/safe_browsing/remote_database_manager_unittest.cc

Issue 1420053005: Move code in components/safe_browsing_db and chrome/browser/s_b/ under the safe_browsing namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_components_move
Patch Set: Remove '// namespace safe_browsing' for a small fwd decl block. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/remote_database_manager_unittest.cc
diff --git a/chrome/browser/safe_browsing/remote_database_manager_unittest.cc b/chrome/browser/safe_browsing/remote_database_manager_unittest.cc
index 56ce0afa88091239281542b40f51474fc3ca8042..072672093a09e8890bc1526ec6a6b15c9b893eee 100644
--- a/chrome/browser/safe_browsing/remote_database_manager_unittest.cc
+++ b/chrome/browser/safe_browsing/remote_database_manager_unittest.cc
@@ -12,6 +12,8 @@
#include "components/variations/variations_associated_data.h"
#include "testing/gtest/include/gtest/gtest.h"
+namespace safe_browsing {
+
namespace {
class TestSafeBrowsingApiHandler : public SafeBrowsingApiHandler {
@@ -21,6 +23,8 @@ class TestSafeBrowsingApiHandler : public SafeBrowsingApiHandler {
const std::vector<SBThreatType>& threat_types) override {}
};
+} // namespace
+
class RemoteDatabaseManagerTest : public testing::Test {
protected:
RemoteDatabaseManagerTest() : field_trials_(new base::FieldTrialList(NULL)) {}
@@ -95,4 +99,4 @@ TEST_F(RemoteDatabaseManagerTest, TypesToCheckFromTrial) {
EXPECT_TRUE(db_->CanCheckResourceType(content::RESOURCE_TYPE_WORKER));
}
-} // namespace
+} // namespace safe_browsing
« no previous file with comments | « chrome/browser/safe_browsing/remote_database_manager.cc ('k') | chrome/browser/safe_browsing/safe_browsing_api_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698