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

Unified Diff: base/timer/mock_timer.h

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 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 | « base/timer/hi_res_timer_manager_win.cc ('k') | base/timer/mock_timer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/timer/mock_timer.h
diff --git a/base/timer/mock_timer.h b/base/timer/mock_timer.h
deleted file mode 100644
index e18a5c0489b46e1b616c62bbef953aa3c20d9b45..0000000000000000000000000000000000000000
--- a/base/timer/mock_timer.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef BASE_TIMER_MOCK_TIMER_H_
-#define BASE_TIMER_MOCK_TIMER_H_
-
-#include "base/timer/timer.h"
-
-namespace base {
-
-class BASE_EXPORT MockTimer : public Timer {
- public:
- MockTimer(bool retain_user_task, bool is_repeating);
- MockTimer(const tracked_objects::Location& posted_from,
- TimeDelta delay,
- const base::Closure& user_task,
- bool is_repeating);
- ~MockTimer() override;
-
- // base::Timer implementation.
- bool IsRunning() const override;
- base::TimeDelta GetCurrentDelay() const override;
- void Start(const tracked_objects::Location& posted_from,
- base::TimeDelta delay,
- const base::Closure& user_task) override;
- void Stop() override;
- void Reset() override;
-
- // Testing methods.
- void Fire();
-
- private:
- base::Closure user_task_;
- TimeDelta delay_;
- bool is_running_;
-};
-
-} // namespace base
-
-#endif // BASE_TIMER_MOCK_TIMER_H_
« no previous file with comments | « base/timer/hi_res_timer_manager_win.cc ('k') | base/timer/mock_timer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698