Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(564)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: net/quic/crypto/quic_encrypter.cc
Issue
11125002
:
Add QuicFramer and friends. (Closed)
Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: narrowing in
Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
net/net.gyp
net/quic/crypto/crypto_framer.h
net/quic/crypto/crypto_framer.cc
net/quic/crypto/crypto_framer_test.cc
net/quic/crypto/crypto_protocol.h
net/quic/crypto/crypto_protocol.cc
net/quic/crypto/null_decrypter.h
net/quic/crypto/null_decrypter.cc
net/quic/crypto/null_decrypter_test.cc
net/quic/crypto/null_encrypter.h
net/quic/crypto/null_encrypter.cc
net/quic/crypto/null_encrypter_test.cc
net/quic/crypto/quic_decrypter.h
net/quic/crypto/quic_decrypter.cc
net/quic/crypto/quic_encrypter.h
net/quic/crypto/quic_encrypter.cc
net/quic/quic_data_reader.h
net/quic/quic_data_reader.cc
net/quic/quic_data_writer.h
net/quic/quic_data_writer.cc
net/quic/quic_framer.h
net/quic/quic_framer.cc
net/quic/quic_framer_test.cc
net/quic/quic_protocol.h
net/quic/quic_protocol.cc
net/quic/quic_utils.h
net/quic/quic_utils.cc
net/quic/test_tools/quic_test_utils.h
net/quic/test_tools/quic_test_utils.cc
net/quic/uint128.h
View unified diff
|
Download patch
|
Annotate
|
Revision Log
« net/quic/crypto/null_encrypter_test.cc
('K') |
« net/quic/crypto/quic_encrypter.h
('k') |
net/quic/quic_data_reader.h »
('j') |
net/quic/quic_data_reader.h »
('J')
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
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
3
// found in the LICENSE file.
4
5
#include "net/quic/crypto/quic_encrypter.h"
6
#include "net/quic/crypto/null_encrypter.h"
7
8
namespace net {
9
10
// static
11
QuicEncrypter* QuicEncrypter::Create(CryptoTag algorithm) {
12
switch (algorithm) {
13
case kNULL:
14
return new NullEncrypter();
15
default:
16
LOG(FATAL) << "Unsupported algorithm: " << algorithm;
17
return NULL;
18
}
19
}
20
21
} // namespace net
OLD
NEW
« net/quic/crypto/null_encrypter_test.cc
('K') |
« net/quic/crypto/quic_encrypter.h
('k') |
net/quic/quic_data_reader.h »
('j') |
net/quic/quic_data_reader.h »
('J')
Issue 11125002: Add QuicFramer and friends. (Closed)
Created 8 years, 2 months ago by Ryan Hamilton
Modified 8 years, 2 months ago
Reviewers: jar (doing other things)
Base URL: svn://svn.chromium.org/chrome/trunk/src
Comments: 148
This is Rietveld
408576698