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

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

Issue 569613002: Add the possibility to specify MediaStreamTrack::remote when creating a track. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 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.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/platform/mediastream/MediaStreamSource.cpp ('k') | 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ~WebMediaStreamSource() { reset(); } 76 ~WebMediaStreamSource() { reset(); }
77 77
78 WebMediaStreamSource& operator=(const WebMediaStreamSource& other) 78 WebMediaStreamSource& operator=(const WebMediaStreamSource& other)
79 { 79 {
80 assign(other); 80 assign(other);
81 return *this; 81 return *this;
82 } 82 }
83 83
84 BLINK_PLATFORM_EXPORT void assign(const WebMediaStreamSource&); 84 BLINK_PLATFORM_EXPORT void assign(const WebMediaStreamSource&);
85 85
86 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt ring& name); 86 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt ring& name); // DEPRECATED
87 BLINK_PLATFORM_EXPORT void initialize(const WebString& id, Type, const WebSt ring& name, bool remote, bool readOnly);
jochen (gone - plz use gerrit) 2014/10/20 13:25:31 nit. readonly
87 BLINK_PLATFORM_EXPORT void reset(); 88 BLINK_PLATFORM_EXPORT void reset();
88 bool isNull() const { return m_private.isNull(); } 89 bool isNull() const { return m_private.isNull(); }
89 90
90 BLINK_PLATFORM_EXPORT WebString id() const; 91 BLINK_PLATFORM_EXPORT WebString id() const;
91 BLINK_PLATFORM_EXPORT Type type() const; 92 BLINK_PLATFORM_EXPORT Type type() const;
92 BLINK_PLATFORM_EXPORT WebString name() const; 93 BLINK_PLATFORM_EXPORT WebString name() const;
93 94
94 BLINK_PLATFORM_EXPORT void setReadyState(ReadyState); 95 BLINK_PLATFORM_EXPORT void setReadyState(ReadyState);
95 BLINK_PLATFORM_EXPORT ReadyState readyState() const; 96 BLINK_PLATFORM_EXPORT ReadyState readyState() const;
96 97
(...skipping 20 matching lines...) Expand all
117 BLINK_PLATFORM_EXPORT operator MediaStreamSource*() const; 118 BLINK_PLATFORM_EXPORT operator MediaStreamSource*() const;
118 #endif 119 #endif
119 120
120 private: 121 private:
121 WebPrivatePtr<MediaStreamSource> m_private; 122 WebPrivatePtr<MediaStreamSource> m_private;
122 }; 123 };
123 124
124 } // namespace blink 125 } // namespace blink
125 126
126 #endif // WebMediaStreamSource_h 127 #endif // WebMediaStreamSource_h
OLDNEW
« no previous file with comments | « Source/platform/mediastream/MediaStreamSource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698