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

Side by Side Diff: net/quic/crypto/crypto_server_config_protobuf.h

Issue 242643009: Added DISALLOW_COPY_AND_ASSIGN to disable copy/assign. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merging with TOT and internal CL: 65311983 Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/crypto/channel_id.h ('k') | net/quic/crypto/crypto_utils.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_
6 #define NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ 6 #define NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 std::string config_; 104 std::string config_;
105 105
106 // primary_time_ contains a UNIX epoch seconds value that indicates when this 106 // primary_time_ contains a UNIX epoch seconds value that indicates when this
107 // config should become primary. 107 // config should become primary.
108 int64 primary_time_; 108 int64 primary_time_;
109 109
110 // Relative priority of this config vs other configs with the same 110 // Relative priority of this config vs other configs with the same
111 // primary time. For use as a secondary sort key when selecting the 111 // primary time. For use as a secondary sort key when selecting the
112 // primary config. 112 // primary config.
113 uint64 priority_; 113 uint64 priority_;
114
115 DISALLOW_COPY_AND_ASSIGN(QuicServerConfigProtobuf);
114 }; 116 };
115 117
116 } // namespace net 118 } // namespace net
117 119
118 #endif // NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_ 120 #endif // NET_QUIC_CRYPTO_CRYPTO_SERVER_CONFIG_PROTOBUF_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/channel_id.h ('k') | net/quic/crypto/crypto_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698