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

Side by Side Diff: Source/platform/mediastream/MediaStreamTrackSourcesRequest.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #include "platform/heap/Handle.h" 29 #include "platform/heap/Handle.h"
30 #include "public/platform/WebVector.h" 30 #include "public/platform/WebVector.h"
31 #include "wtf/Forward.h" 31 #include "wtf/Forward.h"
32 #include "wtf/PassOwnPtr.h" 32 #include "wtf/PassOwnPtr.h"
33 33
34 namespace blink { 34 namespace blink {
35 class WebSourceInfo; 35 class WebSourceInfo;
36 } 36 }
37 37
38 namespace WebCore { 38 namespace blink {
39 39
40 class MediaStreamTrackSourcesRequest : public GarbageCollectedFinalized<MediaStr eamTrackSourcesRequest> { 40 class MediaStreamTrackSourcesRequest : public GarbageCollectedFinalized<MediaStr eamTrackSourcesRequest> {
41 public: 41 public:
42 class ExtraData { 42 class ExtraData {
43 public: 43 public:
44 virtual ~ExtraData() { } 44 virtual ~ExtraData() { }
45 }; 45 };
46 46
47 virtual ~MediaStreamTrackSourcesRequest() { } 47 virtual ~MediaStreamTrackSourcesRequest() { }
48 48
49 virtual String origin() = 0; 49 virtual String origin() = 0;
50 virtual void requestSucceeded(const blink::WebVector<blink::WebSourceInfo>&) = 0; 50 virtual void requestSucceeded(const blink::WebVector<blink::WebSourceInfo>&) = 0;
51 51
52 ExtraData* extraData() const { return m_extraData.get(); } 52 ExtraData* extraData() const { return m_extraData.get(); }
53 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; } 53 void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData ; }
54 54
55 virtual void trace(Visitor*) { } 55 virtual void trace(Visitor*) { }
56 56
57 protected: 57 protected:
58 MediaStreamTrackSourcesRequest() { } 58 MediaStreamTrackSourcesRequest() { }
59 59
60 private: 60 private:
61 OwnPtr<ExtraData> m_extraData; 61 OwnPtr<ExtraData> m_extraData;
62 }; 62 };
63 63
64 } // namespace WebCore 64 } // namespace blink
65 65
66 #endif // MediaStreamTrackSourcesRequest_h 66 #endif // MediaStreamTrackSourcesRequest_h
OLDNEW
« no previous file with comments | « Source/platform/mediastream/MediaStreamSource.cpp ('k') | Source/platform/mediastream/MediaStreamWebAudioSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698