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

Unified Diff: chrome/browser/download/download_browsertest.cc

Issue 1828553002: Move TestSafeBrowsingService* to anonymous namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_browsertest.cc
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc
index 08f6357eea0ee7901eb9e156896ffd00f06d50f4..5a17a04f7b76fc35d3525a14f26b5e3e5ce4472e 100644
--- a/chrome/browser/download/download_browsertest.cc
+++ b/chrome/browser/download/download_browsertest.cc
@@ -1096,6 +1096,8 @@ class DownloadTest : public InProcessBrowserTest {
scoped_ptr<DownloadTestFileActivityObserver> file_activity_observer_;
};
+namespace {
+
class FakeDownloadProtectionService
: public safe_browsing::DownloadProtectionService {
public:
@@ -1171,6 +1173,8 @@ class DownloadTestWithFakeSafeBrowsing : public DownloadTest {
scoped_ptr<TestSafeBrowsingServiceFactory> test_safe_browsing_factory_;
};
+} // namespace
+
// NOTES:
//
// Files for these tests are found in DIR_TEST_DATA (currently
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698