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

Side by Side Diff: chrome/browser/ssl/ssl_error_assistant.proto

Issue 2620203003: Add initial version of captive portal list checking. (Closed)
Patch Set: More tests and rebase Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package chrome_browser_ssl; 9 package chrome_browser_ssl;
10 10
11 message CaptivePortalCert { 11 message CaptivePortalCert {
12 // Sha256 hash of the certificate's public key. The fingerprint is prefixed 12 // Sha256 hash of the certificate's public key. The fingerprint is prefixed
13 // with "sha256/" and encoded in base64 (same format as 13 // with "sha256/" and encoded in base64 (same format as
14 // src/net/http/transport_security_state_static.pins) 14 // src/net/http/transport_security_state_static.pins)
15 // Example: sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= 15 // Example: sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
16 //
17 // NOTE: Only leaf certs must be added here.
Ryan Sleevi 2017/02/01 22:06:06 When I read this outloud, it sounds weird, but it
meacer 2017/02/02 01:56:05 Technically intermediates and roots can also be ad
16 optional string sha256_hash = 1; 18 optional string sha256_hash = 1;
17 } 19 }
18 20
19 message SSLErrorAssistantConfig { 21 message SSLErrorAssistantConfig {
20 optional uint32 version_id = 1; 22 optional uint32 version_id = 1;
21 repeated CaptivePortalCert captive_portal_cert = 2; 23 repeated CaptivePortalCert captive_portal_cert = 2;
22 } 24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698