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

Unified Diff: chromeos/dbus/cryptohome_client.cc

Issue 12183017: Verify the signature on user cloud policy downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment Created 7 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
Index: chromeos/dbus/cryptohome_client.cc
diff --git a/chromeos/dbus/cryptohome_client.cc b/chromeos/dbus/cryptohome_client.cc
index 436fcd45648348311121750f6dda417571a845b6..d6df763504169f8a5398cdcea5f9ff8d5546bef8 100644
--- a/chromeos/dbus/cryptohome_client.cc
+++ b/chromeos/dbus/cryptohome_client.cc
@@ -627,8 +627,8 @@ class CryptohomeClientStubImpl : public CryptohomeClient {
virtual void GetSanitizedUsername(
const std::string& username,
const StringDBusMethodCallback& callback) OVERRIDE {
- const char kStubSanitizedUsername[] =
- "0123456789ABCDEF0123456789ABCDEF01234567";
+ const std::string kStubSanitizedUsername(
+ "0123456789ABCDEF0123456789ABCDEF01234567");
MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(callback, DBUS_METHOD_CALL_SUCCESS, kStubSanitizedUsername));

Powered by Google App Engine
This is Rietveld 408576698