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

Unified Diff: cc/trees/layer_tree_host.h

Issue 300963004: cc: Add message passing mechanism to micro benchmarking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 793cd69c253e782ea1cc8d44553ff1755dda0591..bbcfec975c8c017013c1612febcf33913105c65b 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -275,9 +275,10 @@ class CC_EXPORT LayerTreeHost {
bool UsingSharedMemoryResources();
int id() const { return id_; }
- bool ScheduleMicroBenchmark(const std::string& benchmark_name,
- scoped_ptr<base::Value> value,
- const MicroBenchmark::DoneCallback& callback);
+ int ScheduleMicroBenchmark(const std::string& benchmark_name,
vmpstr 2014/05/28 21:16:25 Comment about the return value please
ernstm 2014/05/28 21:51:55 Done.
+ scoped_ptr<base::Value> value,
+ const MicroBenchmark::DoneCallback& callback);
+ bool SendMessageToMicroBenchmark(int id, scoped_ptr<base::Value> value);
// When a SwapPromiseMonitor is created on the main thread, it calls
// InsertSwapPromiseMonitor() to register itself with LayerTreeHost.

Powered by Google App Engine
This is Rietveld 408576698