Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / chrome / renderer / safe_browsing / mock_feature_extractor_clock.h
blob05f3bef79d18301388ddcedf326b95de649bc8ce
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // A mock implementation of FeatureExtractorClock for testing.
7 #ifndef CHROME_RENDERER_SAFE_BROWSING_MOCK_FEATURE_EXTRACTOR_CLOCK_H_
8 #define CHROME_RENDERER_SAFE_BROWSING_MOCK_FEATURE_EXTRACTOR_CLOCK_H_
10 #include "chrome/renderer/safe_browsing/feature_extractor_clock.h"
11 #include "testing/gmock/include/gmock/gmock.h"
13 namespace safe_browsing {
15 class MockFeatureExtractorClock : public FeatureExtractorClock {
16 public:
17 MockFeatureExtractorClock();
18 virtual ~MockFeatureExtractorClock();
20 MOCK_METHOD0(Now, base::TimeTicks());
22 private:
23 DISALLOW_COPY_AND_ASSIGN(MockFeatureExtractorClock);
26 } // namespace safe_browsing
28 #endif // CHROME_RENDERER_SAFE_BROWSING_MOCK_FEATURE_EXTRACTOR_CLOCK_H_