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

Side by Side Diff: extensions/browser/api/cast_channel/cast_auth_util_openssl.cc

Issue 627573002: Enable passing cast channel certificate authority keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added SetTrustedCerificateAuthorities stub to cast_auth_util_openssl and rebased. Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "extensions/browser/api/cast_channel/cast_auth_util.h" 5 #include "extensions/browser/api/cast_channel/cast_auth_util.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace extensions { 9 namespace extensions {
10 namespace core_api { 10 namespace core_api {
11 namespace cast_channel { 11 namespace cast_channel {
12 12
13 AuthResult AuthenticateChallengeReply(const CastMessage& challenge_reply, 13 AuthResult AuthenticateChallengeReply(const CastMessage& challenge_reply,
14 const std::string& peer_cert) { 14 const std::string& peer_cert) {
15 NOTREACHED(); 15 NOTREACHED();
16 return AuthResult(); 16 return AuthResult();
17 } 17 }
18 18
19 bool SetTrustedCertificateAuthorities(const std::string& keys,
20 const std::string& signature) {
21 NOTREACHED();
Ken Rockot(use gerrit already) 2014/10/27 17:17:50 Why is this not reached? Clearly it's being linked
vadimgo 2014/10/27 17:29:54 Talking to Doug, only the nss version is used for
22 return false;
23 }
24
19 } // namespace cast_channel 25 } // namespace cast_channel
20 } // namespace core_api 26 } // namespace core_api
21 } // namespace extensions 27 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698