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

Unified Diff: cc/resources/release_callback_impl.h

Issue 485043003: cc: Use correct message loop proxy in BlockingTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Help gn deal with it. Created 6 years, 4 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
Index: cc/resources/release_callback_impl.h
diff --git a/cc/resources/release_callback_impl.h b/cc/resources/release_callback_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..c05b703571e52e17361942d1efd1d196da7bf731
--- /dev/null
+++ b/cc/resources/release_callback_impl.h
@@ -0,0 +1,20 @@
+// 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 CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_
+#define CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_
+
+#include "base/callback.h"
+
+namespace cc {
+class BlockingTaskRunner;
+
+typedef base::Callback<void(uint32 sync_point,
+ bool is_lost,
+ scoped_refptr<BlockingTaskRunner>
danakj 2014/08/28 17:10:46 can you make this a raw pointer instead of a refpt
Sami 2014/08/28 18:21:16 Done.
+ main_thread_task_runner)> ReleaseCallbackImpl;
+
+} // namespace cc
+
+#endif // CC_RESOURCES_RELEASE_CALLBACK_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698