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

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

Issue 576483003: Make proto enums canonical for ReadState/WriteState/ConnectState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update all path references to generated protobufs. Created 6 years, 3 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 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 <cert.h> 7 #include <cert.h>
8 #include <cryptohi.h> 8 #include <cryptohi.h>
9 #include <pk11pub.h> 9 #include <pk11pub.h>
10 #include <seccomon.h> 10 #include <seccomon.h>
11 #include <string> 11 #include <string>
12 12
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "crypto/nss_util.h" 15 #include "crypto/nss_util.h"
16 #include "crypto/scoped_nss_types.h" 16 #include "crypto/scoped_nss_types.h"
17 #include "extensions/browser/api/cast_channel/cast_channel.pb.h"
18 #include "extensions/browser/api/cast_channel/cast_message_util.h" 17 #include "extensions/browser/api/cast_channel/cast_message_util.h"
18 #include "extensions/common/api/cast_channel/cast_channel.pb.h"
19 #include "net/base/hash_value.h" 19 #include "net/base/hash_value.h"
20 #include "net/cert/x509_certificate.h" 20 #include "net/cert/x509_certificate.h"
21 21
22 namespace extensions { 22 namespace extensions {
23 namespace core_api { 23 namespace core_api {
24 namespace cast_channel { 24 namespace cast_channel {
25 25
26 namespace { 26 namespace {
27 27
28 // Fingerprints and public keys of the allowed / trusted ICAs. 28 // Fingerprints and public keys of the allowed / trusted ICAs.
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 << ", NSS error code: " << result.nss_error_code; 749 << ", NSS error code: " << result.nss_error_code;
750 return result; 750 return result;
751 } 751 }
752 752
753 return AuthResult(); 753 return AuthResult();
754 } 754 }
755 755
756 } // namespace cast_channel 756 } // namespace cast_channel
757 } // namespace core_api 757 } // namespace core_api
758 } // namespace extensions 758 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/cast_channel/BUILD.gn ('k') | extensions/browser/api/cast_channel/cast_channel.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698