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

Unified Diff: third_party/WebKit/Source/core/page/EventSource.h

Issue 1625763002: Fix naming style of constants named in SHOUT_CASE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: caps-consts: unsigned Created 4 years, 11 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/page/EventSource.h
diff --git a/third_party/WebKit/Source/core/page/EventSource.h b/third_party/WebKit/Source/core/page/EventSource.h
index 582c50c3d58ec27b4ec41989c6a4c13a034bbdf3..174397adb8597565ac0715607e4a349825c29a2f 100644
--- a/third_party/WebKit/Source/core/page/EventSource.h
+++ b/third_party/WebKit/Source/core/page/EventSource.h
@@ -63,10 +63,11 @@ public:
String url() const;
bool withCredentials() const;
- typedef short State;
- static const State CONNECTING = 0;
- static const State OPEN = 1;
- static const State CLOSED = 2;
+ enum State : unsigned short {
+ CONNECTING = 0,
+ OPEN = 1,
+ CLOSED = 2
+ };
State readyState() const;

Powered by Google App Engine
This is Rietveld 408576698