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

Unified Diff: third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp

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/modules/quota/DeprecatedStorageInfo.cpp
diff --git a/third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp b/third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp
index 9e4dcec2682379b7f84730034b24e996a5006fbf..53af7af0749f87838302f7fa6d968b1ee27476de 100644
--- a/third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp
+++ b/third_party/WebKit/Source/modules/quota/DeprecatedStorageInfo.cpp
@@ -71,11 +71,11 @@ void DeprecatedStorageInfo::requestQuota(ExecutionContext* executionContext, int
DeprecatedStorageQuota* DeprecatedStorageInfo::getStorageQuota(int storageType)
{
switch (storageType) {
- case TEMPORARY:
+ case kTemporary:
if (!m_temporaryStorage)
m_temporaryStorage = DeprecatedStorageQuota::create(DeprecatedStorageQuota::Temporary);
return m_temporaryStorage.get();
- case PERSISTENT:
+ case kPersistent:
if (!m_persistentStorage)
m_persistentStorage = DeprecatedStorageQuota::create(DeprecatedStorageQuota::Persistent);
return m_persistentStorage.get();

Powered by Google App Engine
This is Rietveld 408576698