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

Unified Diff: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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: third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
diff --git a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
index ad1267b7fbd83325bd107bfb66d6b33f23bc5396..1f1acf81d98b9993592c56f52b57260418890f96 100644
--- a/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
+++ b/third_party/WebKit/Source/core/loader/appcache/ApplicationCacheHost.h
@@ -57,23 +57,23 @@ namespace blink {
// The Status numeric values are specified in the HTML5 spec.
enum Status {
- UNCACHED = 0,
- IDLE = 1,
- CHECKING = 2,
- DOWNLOADING = 3,
- UPDATEREADY = 4,
- OBSOLETE = 5
+ kUncached = 0,
+ kIdle = 1,
+ kChecking = 2,
+ kDownloading = 3,
+ kUpdateready = 4,
+ kObsolete = 5
};
enum EventID {
- CHECKING_EVENT = 0,
- ERROR_EVENT,
- NOUPDATE_EVENT,
- DOWNLOADING_EVENT,
- PROGRESS_EVENT,
- UPDATEREADY_EVENT,
- CACHED_EVENT,
- OBSOLETE_EVENT // Must remain the last value, this is used to size arrays.
+ kCheckingEvent = 0,
+ kErrorEvent,
+ kNoupdateEvent,
+ kDownloadingEvent,
+ kProgressEvent,
+ kUpdatereadyEvent,
+ kCachedEvent,
+ kObsoleteEvent // Must remain the last value, this is used to size arrays.
};
struct CacheInfo {

Powered by Google App Engine
This is Rietveld 408576698