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

Side by Side Diff: public/platform/WebRTCConfiguration.h

Issue 1349073002: Fix browser_tests on 32-bit linux (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 #endif 70 #endif
71 71
72 private: 72 private:
73 WebPrivatePtr<RTCIceServer> m_private; 73 WebPrivatePtr<RTCIceServer> m_private;
74 }; 74 };
75 75
76 class WebRTCICEServerArray { 76 class WebRTCICEServerArray {
77 public: 77 public:
78 WebRTCICEServerArray() {} 78 WebRTCICEServerArray() {}
79 WebRTCICEServerArray(const WebRTCICEServerArray& other) { assign(other); } 79 WebRTCICEServerArray(const WebRTCICEServerArray& other) { assign(other); }
80 ~WebRTCICEServerArray() { reset(); }
80 WebRTCICEServerArray& operator=(const WebRTCICEServerArray& other) 81 WebRTCICEServerArray& operator=(const WebRTCICEServerArray& other)
81 { 82 {
82 assign(other); 83 assign(other);
83 return *this; 84 return *this;
84 } 85 }
85 86
86 BLINK_PLATFORM_EXPORT void assign(const WebRTCICEServerArray&); 87 BLINK_PLATFORM_EXPORT void assign(const WebRTCICEServerArray&);
87 88
88 BLINK_PLATFORM_EXPORT void reset(); 89 BLINK_PLATFORM_EXPORT void reset();
89 bool isNull() const { return m_private.isNull(); } 90 bool isNull() const { return m_private.isNull(); }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 BLINK_PLATFORM_EXPORT WebRTCConfiguration(RTCConfiguration*); 149 BLINK_PLATFORM_EXPORT WebRTCConfiguration(RTCConfiguration*);
149 #endif 150 #endif
150 151
151 private: 152 private:
152 WebPrivatePtr<RTCConfiguration> m_private; 153 WebPrivatePtr<RTCConfiguration> m_private;
153 }; 154 };
154 155
155 } // namespace blink 156 } // namespace blink
156 157
157 #endif // WebRTCConfiguration_h 158 #endif // WebRTCConfiguration_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698