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

Side by Side Diff: remoting/signaling/server_log_entry.h

Issue 1736633002: remoting: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « remoting/protocol/pairing_registry.cc ('k') | remoting/signaling/server_log_entry.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 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 #ifndef REMOTING_SIGNALING_SERVER_LOG_ENTRY_H_ 5 #ifndef REMOTING_SIGNALING_SERVER_LOG_ENTRY_H_
6 #define REMOTING_SIGNALING_SERVER_LOG_ENTRY_H_ 6 #define REMOTING_SIGNALING_SERVER_LOG_ENTRY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 // containers. 21 // containers.
22 class ServerLogEntry { 22 class ServerLogEntry {
23 public: 23 public:
24 // The mode of a connection. 24 // The mode of a connection.
25 enum Mode { 25 enum Mode {
26 IT2ME, 26 IT2ME,
27 ME2ME 27 ME2ME
28 }; 28 };
29 29
30 ServerLogEntry(); 30 ServerLogEntry();
31 ServerLogEntry(const ServerLogEntry& other);
31 ~ServerLogEntry(); 32 ~ServerLogEntry();
32 33
33 // Sets an arbitrary key/value entry. 34 // Sets an arbitrary key/value entry.
34 void Set(const std::string& key, const std::string& value); 35 void Set(const std::string& key, const std::string& value);
35 36
36 // Adds a field describing the CPU type of the platform. 37 // Adds a field describing the CPU type of the platform.
37 void AddCpuField(); 38 void AddCpuField();
38 39
39 // Adds a field describing the mode of a connection to this log entry. 40 // Adds a field describing the mode of a connection to this log entry.
40 void AddModeField(Mode mode); 41 void AddModeField(Mode mode);
(...skipping 14 matching lines...) Expand all
55 56
56 private: 57 private:
57 typedef std::map<std::string, std::string> ValuesMap; 58 typedef std::map<std::string, std::string> ValuesMap;
58 59
59 ValuesMap values_map_; 60 ValuesMap values_map_;
60 }; 61 };
61 62
62 } // namespace remoting 63 } // namespace remoting
63 64
64 #endif // REMOTING_SIGNALING_SERVER_LOG_ENTRY_H_ 65 #endif // REMOTING_SIGNALING_SERVER_LOG_ENTRY_H_
OLDNEW
« no previous file with comments | « remoting/protocol/pairing_registry.cc ('k') | remoting/signaling/server_log_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698