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

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

Issue 2567483002: Add proto for TLS error assistant, refactor proto generator code. (Closed)
Patch Set: 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
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..d15ac6dcdc01dee7bea155f3cf1d1d11aeed6836
--- /dev/null
+++ b/chrome/browser/ssl/tls_error_assistant.proto
@@ -0,0 +1,19 @@
+// 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.
+ optional string sha256_hash = 1;
+}
+
+message TLSErrorAssistantConfig {
+ optional uint32 version_id = 1;
+ repeated CaptivePortalCert captive_portal_cert = 2;
+}

Powered by Google App Engine
This is Rietveld 408576698