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

Unified Diff: base/test/signaling_task.h

Issue 8696001: Removing SignalingTask and replace with base::Bind(&WaitableEvent::Signal, ...) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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/base.gyp ('k') | base/test/signaling_task.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/signaling_task.h
diff --git a/base/test/signaling_task.h b/base/test/signaling_task.h
deleted file mode 100644
index f7db5c2ad2a7e384427d6efcba688fd47fc2a4a2..0000000000000000000000000000000000000000
--- a/base/test/signaling_task.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2011 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 callback that you can use to wait for events on a thread.
-
-#ifndef BASE_TEST_SIGNALING_TASK_H_
-#define BASE_TEST_SIGNALING_TASK_H_
-#pragma once
-
-#include "base/task.h"
-
-namespace base {
-
-class WaitableEvent;
-
-class SignalingTask : public Task {
- public:
- explicit SignalingTask(base::WaitableEvent* event);
- virtual ~SignalingTask();
-
- virtual void Run() OVERRIDE;
-
- private:
- base::WaitableEvent* event_;
- DISALLOW_COPY_AND_ASSIGN(SignalingTask);
-};
-
-} // namespace base
-
-#endif // BASE_TEST_SIGNALING_TASK_H_
« no previous file with comments | « base/base.gyp ('k') | base/test/signaling_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698