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

Unified Diff: chrome/renderer/safe_browsing/feature_extractor_clock.h

Issue 2667343006: Componentize safe_browsing [X+1] : move the renderer part to component.
Patch Set: Created 3 years, 11 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 | « chrome/renderer/safe_browsing/DEPS ('k') | chrome/renderer/safe_browsing/feature_extractor_clock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/safe_browsing/feature_extractor_clock.h
diff --git a/chrome/renderer/safe_browsing/feature_extractor_clock.h b/chrome/renderer/safe_browsing/feature_extractor_clock.h
deleted file mode 100644
index 930c1a4b7abfd290572b9e8ebcf5e59a99443d1e..0000000000000000000000000000000000000000
--- a/chrome/renderer/safe_browsing/feature_extractor_clock.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-// A simple abstraction for getting the current time during feature extraction.
-// This can be mocked out for testing.
-
-#ifndef CHROME_RENDERER_SAFE_BROWSING_FEATURE_EXTRACTOR_CLOCK_H_
-#define CHROME_RENDERER_SAFE_BROWSING_FEATURE_EXTRACTOR_CLOCK_H_
-
-#include "base/macros.h"
-#include "base/time/time.h"
-
-namespace safe_browsing {
-
-class FeatureExtractorClock {
- public:
- FeatureExtractorClock() {}
- virtual ~FeatureExtractorClock();
-
- // Returns the current time. May be mocked for testing.
- virtual base::TimeTicks Now();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(FeatureExtractorClock);
-};
-
-} // namespace safe_browsing
-
-#endif // CHROME_RENDERER_SAFE_BROWSING_FEATURE_EXTRACTOR_CLOCK_H_
« no previous file with comments | « chrome/renderer/safe_browsing/DEPS ('k') | chrome/renderer/safe_browsing/feature_extractor_clock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698