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

Unified Diff: third_party/WebKit/Source/core/html/track/TrackBase.h

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 years, 10 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: third_party/WebKit/Source/core/html/track/TrackBase.h
diff --git a/third_party/WebKit/Source/core/html/track/TrackBase.h b/third_party/WebKit/Source/core/html/track/TrackBase.h
index 28db2a6136c775cfdb2813d14d805a00d742e07b..4a71790195bedd7e70d6f4d798051bfa35f33df3 100644
--- a/third_party/WebKit/Source/core/html/track/TrackBase.h
+++ b/third_party/WebKit/Source/core/html/track/TrackBase.h
@@ -42,8 +42,8 @@ public:
WebMediaPlayer::TrackId trackId() const { return m_trackId; }
- enum Type { TextTrack, AudioTrack, VideoTrack };
- Type type() const { return m_type; }
+ enum TrackType { TextTrack, AudioTrack, VideoTrack };
+ TrackType type() const { return m_type; }
const AtomicString& kind() const { return m_kind; }
virtual void setKind(const AtomicString&);
@@ -64,14 +64,14 @@ public:
DECLARE_VIRTUAL_TRACE();
protected:
- TrackBase(Type, const AtomicString& label, const AtomicString& language, const String& id);
+ TrackBase(TrackType, const AtomicString& label, const AtomicString& language, const String& id);
virtual bool isValidKind(const AtomicString&) const = 0;
virtual AtomicString defaultKind() const = 0;
private:
WebMediaPlayer::TrackId m_trackId;
- Type m_type;
+ TrackType m_type;
AtomicString m_kind;
AtomicString m_label;
AtomicString m_language;
« no previous file with comments | « third_party/WebKit/Source/core/html/track/TextTrack.cpp ('k') | third_party/WebKit/Source/core/html/track/TrackBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698