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

Unified Diff: chrome/browser/ssl/tls_error_assistant.proto

Issue 2567483002: Add proto for TLS error assistant, refactor proto generator code. (Closed)
Patch Set: Add OWNERS for c/b/r/protobufs and c/b/r/ssl Created 4 years 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 | « chrome/browser/ssl/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/tls_error_assistant.proto
diff --git a/chrome/browser/ssl/tls_error_assistant.proto b/chrome/browser/ssl/tls_error_assistant.proto
new file mode 100644
index 0000000000000000000000000000000000000000..33f8bb1aa53061ed0ae205708783854a9539f8bf
--- /dev/null
+++ b/chrome/browser/ssl/tls_error_assistant.proto
@@ -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.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package chrome_browser_ssl;
+
+message CaptivePortalCert {
+ // Sha256 hash of the certificate's public key. The fingerprint is prefixed
+ // with "sha256/" and encoded in base64 (same format as
+ // src/net/http/transport_security_state_static.pins)
+ // Example: sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+ optional string sha256_hash = 1;
+}
+
+message TLSErrorAssistantConfig {
+ optional uint32 version_id = 1;
+ repeated CaptivePortalCert captive_portal_cert = 2;
+}
« no previous file with comments | « chrome/browser/ssl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698