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

Side by Side Diff: Source/platform/mediastream/MediaStreamSource.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Ericsson AB. All rights reserved. 2 * Copyright (C) 2011 Ericsson AB. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 24 matching lines...) Expand all
35 #include "platform/PlatformExport.h" 35 #include "platform/PlatformExport.h"
36 #include "platform/audio/AudioDestinationConsumer.h" 36 #include "platform/audio/AudioDestinationConsumer.h"
37 #include "public/platform/WebMediaConstraints.h" 37 #include "public/platform/WebMediaConstraints.h"
38 #include "wtf/OwnPtr.h" 38 #include "wtf/OwnPtr.h"
39 #include "wtf/PassOwnPtr.h" 39 #include "wtf/PassOwnPtr.h"
40 #include "wtf/RefCounted.h" 40 #include "wtf/RefCounted.h"
41 #include "wtf/ThreadingPrimitives.h" 41 #include "wtf/ThreadingPrimitives.h"
42 #include "wtf/Vector.h" 42 #include "wtf/Vector.h"
43 #include "wtf/text/WTFString.h" 43 #include "wtf/text/WTFString.h"
44 44
45 namespace WebCore { 45 namespace blink {
46 46
47 class PLATFORM_EXPORT MediaStreamSource FINAL : public RefCounted<MediaStreamSou rce> { 47 class PLATFORM_EXPORT MediaStreamSource FINAL : public RefCounted<MediaStreamSou rce> {
48 public: 48 public:
49 class Observer { 49 class Observer {
50 public: 50 public:
51 virtual ~Observer() { } 51 virtual ~Observer() { }
52 virtual void sourceChangedState() = 0; 52 virtual void sourceChangedState() = 0;
53 }; 53 };
54 54
55 class ExtraData { 55 class ExtraData {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 bool m_requiresConsumer; 104 bool m_requiresConsumer;
105 Vector<Observer*> m_observers; 105 Vector<Observer*> m_observers;
106 Mutex m_audioConsumersLock; 106 Mutex m_audioConsumersLock;
107 Vector<RefPtr<AudioDestinationConsumer> > m_audioConsumers; 107 Vector<RefPtr<AudioDestinationConsumer> > m_audioConsumers;
108 OwnPtr<ExtraData> m_extraData; 108 OwnPtr<ExtraData> m_extraData;
109 blink::WebMediaConstraints m_constraints; 109 blink::WebMediaConstraints m_constraints;
110 }; 110 };
111 111
112 typedef Vector<RefPtr<MediaStreamSource> > MediaStreamSourceVector; 112 typedef Vector<RefPtr<MediaStreamSource> > MediaStreamSourceVector;
113 113
114 } // namespace WebCore 114 } // namespace blink
115 115
116 #endif // MediaStreamSource_h 116 #endif // MediaStreamSource_h
OLDNEW
« no previous file with comments | « Source/platform/mediastream/MediaStreamDescriptor.cpp ('k') | Source/platform/mediastream/MediaStreamSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698