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

Side by Side Diff: talk/media/base/streamparams.h

Issue 1342543004: Consolidate constructormagic macros with Chromium version and remove Chromium override. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. 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 | « talk/app/webrtc/videosource.cc ('k') | webrtc/base/constructormagic.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 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 #ifndef TALK_MEDIA_BASE_STREAMPARAMS_H_ 43 #ifndef TALK_MEDIA_BASE_STREAMPARAMS_H_
44 #define TALK_MEDIA_BASE_STREAMPARAMS_H_ 44 #define TALK_MEDIA_BASE_STREAMPARAMS_H_
45 45
46 #include <algorithm> 46 #include <algorithm>
47 #include <set> 47 #include <set>
48 #include <string> 48 #include <string>
49 #include <vector> 49 #include <vector>
50 50
51 #include "webrtc/base/basictypes.h" 51 #include "webrtc/base/basictypes.h"
52 #include "webrtc/base/constructormagic.h"
52 53
53 namespace cricket { 54 namespace cricket {
54 55
55 extern const char kFecSsrcGroupSemantics[]; 56 extern const char kFecSsrcGroupSemantics[];
56 extern const char kFidSsrcGroupSemantics[]; 57 extern const char kFidSsrcGroupSemantics[];
57 extern const char kSimSsrcGroupSemantics[]; 58 extern const char kSimSsrcGroupSemantics[];
58 59
59 struct SsrcGroup { 60 struct SsrcGroup {
60 SsrcGroup(const std::string& usage, const std::vector<uint32>& ssrcs) 61 SsrcGroup(const std::string& usage, const std::vector<uint32>& ssrcs)
61 : semantics(usage), ssrcs(ssrcs) { 62 : semantics(usage), ssrcs(ssrcs) {
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 bool IsOneSsrcStream(const StreamParams& sp); 339 bool IsOneSsrcStream(const StreamParams& sp);
339 340
340 // Checks if |sp| defines parameters for one Simulcast stream. There may be RTX 341 // Checks if |sp| defines parameters for one Simulcast stream. There may be RTX
341 // streams associated with the simulcast streams. Leaving as non-static so we 342 // streams associated with the simulcast streams. Leaving as non-static so we
342 // can test this function. 343 // can test this function.
343 bool IsSimulcastStream(const StreamParams& sp); 344 bool IsSimulcastStream(const StreamParams& sp);
344 345
345 } // namespace cricket 346 } // namespace cricket
346 347
347 #endif // TALK_MEDIA_BASE_STREAMPARAMS_H_ 348 #endif // TALK_MEDIA_BASE_STREAMPARAMS_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/videosource.cc ('k') | webrtc/base/constructormagic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698