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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 c748d6e3ddda7b635db3038b39a6835b111a25de..be8dfc2561a19fb076c8ae6180ce5c45f5e49265 100644
--- a/Source/modules/mediastream/SourceInfo.cpp
+++ b/Source/modules/mediastream/SourceInfo.cpp
@@ -30,13 +30,13 @@
namespace WebCore {
-PassRefPtr<SourceInfo> SourceInfo::create(const WebKit::WebSourceInfo& webSourceInfo)
+PassRefPtr<SourceInfo> SourceInfo::create(const blink::WebSourceInfo& webSourceInfo)
{
ASSERT(!webSourceInfo.isNull());
return adoptRef(new SourceInfo(webSourceInfo));
}
-SourceInfo::SourceInfo(const WebKit::WebSourceInfo& webSourceInfo)
+SourceInfo::SourceInfo(const blink::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 WebKit::WebSourceInfo::SourceKindAudio:
+ case blink::WebSourceInfo::SourceKindAudio:
return "audio";
- case WebKit::WebSourceInfo::SourceKindVideo:
+ case blink::WebSourceInfo::SourceKindVideo:
return "video";
- case WebKit::WebSourceInfo::SourceKindNone:
+ case blink::WebSourceInfo::SourceKindNone:
return "none";
}
@@ -70,11 +70,11 @@ String SourceInfo::label() const
String SourceInfo::facing() const
{
switch (m_webSourceInfo.facing()) {
- case WebKit::WebSourceInfo::VideoFacingModeNone:
+ case blink::WebSourceInfo::VideoFacingModeNone:
return String();
- case WebKit::WebSourceInfo::VideoFacingModeUser:
+ case blink::WebSourceInfo::VideoFacingModeUser:
return "user";
- case WebKit::WebSourceInfo::VideoFacingModeEnvironment:
+ case blink::WebSourceInfo::VideoFacingModeEnvironment:
return "environment";
}
« no previous file with comments | « Source/modules/mediastream/SourceInfo.h ('k') | Source/modules/mediastream/WebMediaStreamTrackSourcesRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698