diff options
Diffstat (limited to 'chrome/browser/safe_browsing/client_side_detection_host_unittest.cc')
-rw-r--r-- | chrome/browser/safe_browsing/client_side_detection_host_unittest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc index 1d68a4d..b39b63b 100644 --- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc +++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc @@ -101,7 +101,6 @@ class MockClientSideDetectionService : public ClientSideDetectionService { class MockSafeBrowsingService : public SafeBrowsingService { public: MockSafeBrowsingService() {} - virtual ~MockSafeBrowsingService() {} MOCK_METHOD1(DoDisplayBlockingPage, void(const UnsafeResource& resource)); MOCK_METHOD1(MatchCsdWhitelistUrl, bool(const GURL&)); @@ -117,6 +116,9 @@ class MockSafeBrowsingService : public SafeBrowsingService { callback.Run(false); } + protected: + virtual ~MockSafeBrowsingService() {} + private: DISALLOW_COPY_AND_ASSIGN(MockSafeBrowsingService); }; |