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

Side by Side Diff: net/spdy/spdy_credential_builder.cc

Issue 10907048: Remove obsolete signature_creator includes from net. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "net/spdy/spdy_credential_builder.h" 5 #include "net/spdy/spdy_credential_builder.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_piece.h" 8 #include "base/string_piece.h"
9 #include "crypto/ec_private_key.h" 9 #include "crypto/ec_private_key.h"
10 #include "crypto/ec_signature_creator.h" 10 #include "crypto/ec_signature_creator.h"
11 #include "crypto/signature_creator.h"
12 #include "net/base/asn1_util.h" 11 #include "net/base/asn1_util.h"
13 #include "net/base/server_bound_cert_service.h" 12 #include "net/base/server_bound_cert_service.h"
14 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
15 #include "net/socket/ssl_client_socket.h" 14 #include "net/socket/ssl_client_socket.h"
16 #include "net/spdy/spdy_framer.h" 15 #include "net/spdy/spdy_framer.h"
17 16
18 namespace net { 17 namespace net {
19 18
20 namespace { 19 namespace {
21 20
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 std::string SpdyCredentialBuilder::GetCredentialSecret( 75 std::string SpdyCredentialBuilder::GetCredentialSecret(
77 const std::string& tls_unique) { 76 const std::string& tls_unique) {
78 const char prefix[] = "SPDY CREDENTIAL ChannelID\0client -> server"; 77 const char prefix[] = "SPDY CREDENTIAL ChannelID\0client -> server";
79 std::string secret(prefix, arraysize(prefix)); 78 std::string secret(prefix, arraysize(prefix));
80 secret.append(tls_unique); 79 secret.append(tls_unique);
81 80
82 return secret; 81 return secret;
83 } 82 }
84 83
85 } // namespace net 84 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698