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

Unified Diff: cc/thread.h

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« cc/cc.gyp ('K') | « cc/texture_uploader.cc ('k') | cc/thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/thread.h
diff --git a/cc/thread.h b/cc/thread.h
deleted file mode 100644
index c9f01a923f512123480663473376847b890ff659..0000000000000000000000000000000000000000
--- a/cc/thread.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 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.
-
-#ifndef CC_THREAD_H_
-#define CC_THREAD_H_
-
-#include "base/callback.h"
-#include "base/basictypes.h"
-#include "cc/cc_export.h"
-
-namespace cc {
-
-// Thread provides basic infrastructure for messaging with the compositor in a
-// platform-neutral way.
-class CC_EXPORT Thread {
-public:
- virtual ~Thread() { }
-
- // Executes the callback on context's thread asynchronously.
- virtual void postTask(base::Closure cb) = 0;
-
- // Executes the task after the specified delay.
- virtual void postDelayedTask(base::Closure cb, long long delayMs) = 0;
-
- virtual bool belongsToCurrentThread() const = 0;
-};
-
-}
-
-#endif // CC_THREAD_H_
« cc/cc.gyp ('K') | « cc/texture_uploader.cc ('k') | cc/thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698