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

Unified Diff: chromeos/dbus/debug_daemon_client.cc

Issue 2613683004: Completely rewrite the PpdProvider/PpdCache to use the SCS backend. Along the way, clean it up a l… (Closed)
Patch Set: Fixup one more unit test Created 3 years, 11 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: chromeos/dbus/debug_daemon_client.cc
diff --git a/chromeos/dbus/debug_daemon_client.cc b/chromeos/dbus/debug_daemon_client.cc
index c007e2f10c6c380635be766ecfdb806c6b78ef23..6755ffc67756a851115b96a06fef9fe956031994 100644
--- a/chromeos/dbus/debug_daemon_client.cc
+++ b/chromeos/dbus/debug_daemon_client.cc
@@ -498,7 +498,9 @@ class DebugDaemonClientImpl : public DebugDaemonClient {
dbus::MessageWriter writer(&method_call);
writer.AppendString(name);
writer.AppendString(uri);
- writer.AppendString(ppd_contents);
+ writer.AppendArrayOfBytes(
+ reinterpret_cast<const uint8_t*>(ppd_contents.data()),
+ ppd_contents.size());
debugdaemon_proxy_->CallMethod(
&method_call, dbus::ObjectProxy::TIMEOUT_USE_DEFAULT,

Powered by Google App Engine
This is Rietveld 408576698