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

Unified Diff: Source/modules/mediastream/SourceInfo.cpp

Issue 469773002: Cleanup blink:: prefix usage in Source/core/modules/[mediasource/*.cpp to websockets/*.cpp] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/mediastream/SourceInfo.cpp
diff --git a/Source/modules/mediastream/SourceInfo.cpp b/Source/modules/mediastream/SourceInfo.cpp
index 3803b9f4e96fdead74d5ed2beeafcc6d398c88c5..d2f8f49d2b25a1648eeddccac9c4c7073921c001 100644
--- a/Source/modules/mediastream/SourceInfo.cpp
+++ b/Source/modules/mediastream/SourceInfo.cpp
@@ -30,13 +30,13 @@
namespace blink {
-SourceInfo* SourceInfo::create(const blink::WebSourceInfo& webSourceInfo)
+SourceInfo* SourceInfo::create(const WebSourceInfo& webSourceInfo)
{
ASSERT(!webSourceInfo.isNull());
return new SourceInfo(webSourceInfo);
}
-SourceInfo::SourceInfo(const blink::WebSourceInfo& webSourceInfo)
+SourceInfo::SourceInfo(const WebSourceInfo& webSourceInfo)
: m_webSourceInfo(webSourceInfo)
{
ScriptWrappable::init(this);
@@ -50,11 +50,11 @@ String SourceInfo::id() const
String SourceInfo::kind() const
{
switch (m_webSourceInfo.kind()) {
- case blink::WebSourceInfo::SourceKindAudio:
+ case WebSourceInfo::SourceKindAudio:
return "audio";
- case blink::WebSourceInfo::SourceKindVideo:
+ case WebSourceInfo::SourceKindVideo:
return "video";
- case blink::WebSourceInfo::SourceKindNone:
+ case WebSourceInfo::SourceKindNone:
return "none";
}
@@ -70,11 +70,11 @@ String SourceInfo::label() const
String SourceInfo::facing() const
{
switch (m_webSourceInfo.facing()) {
- case blink::WebSourceInfo::VideoFacingModeNone:
+ case WebSourceInfo::VideoFacingModeNone:
return String();
- case blink::WebSourceInfo::VideoFacingModeUser:
+ case WebSourceInfo::VideoFacingModeUser:
return "user";
- case blink::WebSourceInfo::VideoFacingModeEnvironment:
+ case WebSourceInfo::VideoFacingModeEnvironment:
return "environment";
}
« no previous file with comments | « Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp ('k') | Source/modules/mediastream/UserMediaRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698