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

Unified Diff: content/common/gpu/jpeg_decode_params.cc

Issue 1656433002: Sample code: IPC Transport object for GPU Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GpuMemoryBufferService + Transport object. TODO: Eliminate ChildThreadImpl dependency Created 4 years, 10 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
« no previous file with comments | « content/common/gpu/jpeg_decode_params.h ('k') | content/common/gpu/media/gpu_jpeg_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/jpeg_decode_params.cc
diff --git a/content/public/browser/bluetooth_chooser.cc b/content/common/gpu/jpeg_decode_params.cc
similarity index 51%
copy from content/public/browser/bluetooth_chooser.cc
copy to content/common/gpu/jpeg_decode_params.cc
index 6c15734c80e85cf44147028806e67c4f48a6ee66..82df3edec0fe3c6b7c8bf507e41ede98f57df3df 100644
--- a/content/public/browser/bluetooth_chooser.cc
+++ b/content/common/gpu/jpeg_decode_params.cc
@@ -2,14 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/public/browser/bluetooth_chooser.h"
+#include "content/common/gpu/jpeg_decode_params.h"
namespace content {
-BluetoothChooser::~BluetoothChooser() {}
+JpegDecodeParams::JpegDecodeParams()
+ : input_buffer_id(0), input_buffer_size(0), output_buffer_size(0) {}
-bool BluetoothChooser::CanAskForScanningPermission() {
- return true;
-}
+JpegDecodeParams::~JpegDecodeParams() {}
} // namespace content
« no previous file with comments | « content/common/gpu/jpeg_decode_params.h ('k') | content/common/gpu/media/gpu_jpeg_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698