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

Unified Diff: Source/modules/indexeddb/IDBVersionChangeEvent.cpp

Issue 464353002: Cleanup blink:: prefix usage in Source/core/modules/[battery/*.cpp to indexeddb/*.cpp] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 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
« no previous file with comments | « Source/modules/indexeddb/IDBTransaction.cpp ('k') | Source/modules/indexeddb/InspectorIndexedDBAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBVersionChangeEvent.cpp
diff --git a/Source/modules/indexeddb/IDBVersionChangeEvent.cpp b/Source/modules/indexeddb/IDBVersionChangeEvent.cpp
index c9763186eac26ffd9c9c585431e555f0bf17e0ec..5458022ef919b11aafe40da9025943b66a8d3770 100644
--- a/Source/modules/indexeddb/IDBVersionChangeEvent.cpp
+++ b/Source/modules/indexeddb/IDBVersionChangeEvent.cpp
@@ -30,19 +30,18 @@
namespace blink {
-
IDBVersionChangeEventInit::IDBVersionChangeEventInit()
: oldVersion(0)
{
}
IDBVersionChangeEvent::IDBVersionChangeEvent()
- : m_dataLoss(blink::WebIDBDataLossNone)
+ : m_dataLoss(WebIDBDataLossNone)
{
ScriptWrappable::init(this);
}
-IDBVersionChangeEvent::IDBVersionChangeEvent(const AtomicString& eventType, unsigned long long oldVersion, const Nullable<unsigned long long>& newVersion, blink::WebIDBDataLoss dataLoss, const String& dataLossMessage)
+IDBVersionChangeEvent::IDBVersionChangeEvent(const AtomicString& eventType, unsigned long long oldVersion, const Nullable<unsigned long long>& newVersion, WebIDBDataLoss dataLoss, const String& dataLossMessage)
: Event(eventType, false /*canBubble*/, false /*cancelable*/)
, m_oldVersion(oldVersion)
, m_newVersion(newVersion)
@@ -56,12 +55,12 @@ IDBVersionChangeEvent::IDBVersionChangeEvent(const AtomicString& eventType, cons
: Event(eventType, false /*canBubble*/, false /*cancelable*/)
, m_oldVersion(initializer.oldVersion)
, m_newVersion(initializer.newVersion)
- , m_dataLoss(blink::WebIDBDataLossNone)
+ , m_dataLoss(WebIDBDataLossNone)
{
if (initializer.dataLoss.isEmpty() || initializer.dataLoss == "none")
- m_dataLoss = blink::WebIDBDataLossNone;
+ m_dataLoss = WebIDBDataLossNone;
else if (initializer.dataLoss == "total")
- m_dataLoss = blink::WebIDBDataLossTotal;
+ m_dataLoss = WebIDBDataLossTotal;
ScriptWrappable::init(this);
}
@@ -73,7 +72,7 @@ unsigned long long IDBVersionChangeEvent::newVersion(bool& isNull) const
const AtomicString& IDBVersionChangeEvent::dataLoss() const
{
- if (m_dataLoss == blink::WebIDBDataLossTotal)
+ if (m_dataLoss == WebIDBDataLossTotal)
return IndexedDBNames::total;
return IndexedDBNames::none;
}
« no previous file with comments | « Source/modules/indexeddb/IDBTransaction.cpp ('k') | Source/modules/indexeddb/InspectorIndexedDBAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698