Index: android_webview/gpu/aw_content_gpu_client.cc |
diff --git a/android_webview/gpu/aw_content_gpu_client.cc b/android_webview/gpu/aw_content_gpu_client.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bc85515b93ef3168cbff330ca993ff254b96378f |
--- /dev/null |
+++ b/android_webview/gpu/aw_content_gpu_client.cc |
@@ -0,0 +1,22 @@ |
+// Copyright 2016 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. |
+ |
+#include "android_webview/gpu/aw_content_gpu_client.h" |
+ |
+namespace android_webview { |
+ |
+AwContentGpuClient::AwContentGpuClient( |
+ const GetSyncPointManagerCallback& callback) |
+ : sync_point_manager_callback_(callback) {} |
+ |
+AwContentGpuClient::~AwContentGpuClient() {} |
+ |
+void AwContentGpuClient::RegisterMojoServices( |
+ content::ServiceRegistry* registry) {} |
+ |
+gpu::SyncPointManager* AwContentGpuClient::GetSyncPointManager() { |
+ return sync_point_manager_callback_.Run(); |
+} |
+ |
+} // namespace android_webview |