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

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

Issue 589663002: Make protobuf enums canonical for ReadState/WriteState/ConnectState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync with master 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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 << ", NSS error code: " << result.nss_error_code; 761 << ", NSS error code: " << result.nss_error_code;
762 return result; 762 return result;
763 } 763 }
764 764
765 return AuthResult(); 765 return AuthResult();
766 } 766 }
767 767
768 } // namespace cast_channel 768 } // namespace cast_channel
769 } // namespace core_api 769 } // namespace core_api
770 } // namespace extensions 770 } // 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