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

Unified Diff: components/update_client/client_update_protocol_ecdsa.h

Issue 1685323002: Implement CUP signing in UpdateClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and remove duplicated code comment. 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
Index: components/update_client/client_update_protocol_ecdsa.h
diff --git a/components/update_client/client_update_protocol_ecdsa.h b/components/update_client/client_update_protocol_ecdsa.h
index 679662687c964b4dc32ddc4977731f69129c8cb5..2459c8c8bee5a6cfe01ebb6a90c3ebb9ccd65084 100644
--- a/components/update_client/client_update_protocol_ecdsa.h
+++ b/components/update_client/client_update_protocol_ecdsa.h
@@ -13,6 +13,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/string_piece.h"
+namespace update_client {
+
// Client Update Protocol v2, or CUP-ECDSA, is used by Google Update (Omaha)
// servers to ensure freshness and authenticity of update checks over HTTP,
// without the overhead of HTTPS -- namely, no PKI, no guarantee of privacy,
@@ -81,4 +83,6 @@ class ClientUpdateProtocolEcdsa {
DISALLOW_IMPLICIT_CONSTRUCTORS(ClientUpdateProtocolEcdsa);
};
+} // namespace update_client
+
#endif // COMPONENTS_UPDATE_CLIENT_CLIENT_UPDATE_PROTOCOL_ECDSA_H_
« no previous file with comments | « components/update_client/action_update_check.cc ('k') | components/update_client/client_update_protocol_ecdsa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698