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

Unified Diff: Source/core/dom/AutocompleteError.cpp

Issue 228783007: rAc: make requestAutocomplete() return a promise. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge upstream Created 6 years, 8 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: Source/core/dom/AutocompleteError.cpp
diff --git a/Source/modules/quota/StorageInfo.cpp b/Source/core/dom/AutocompleteError.cpp
similarity index 89%
copy from Source/modules/quota/StorageInfo.cpp
copy to Source/core/dom/AutocompleteError.cpp
index 0a51cee7fb5e6183740935885ccd792d1e347b97..89b803670d48984c33f87cc1d9fba6ecfb01a4b1 100644
--- a/Source/modules/quota/StorageInfo.cpp
+++ b/Source/core/dom/AutocompleteError.cpp
@@ -29,19 +29,15 @@
*/
#include "config.h"
-#include "modules/quota/StorageInfo.h"
+#include "core/dom/AutocompleteError.h"
namespace WebCore {
-StorageInfo::StorageInfo(unsigned long long usage, unsigned long long quota)
- : m_usage(usage)
- , m_quota(quota)
+AutocompleteError::AutocompleteError(const String& reason)
+ : DOMException(0, "AutocompleteError")
tkent 2014/04/23 06:36:57 Is it allowed to create a DOMException with code=0
+ , m_reason(reason)
{
ScriptWrappable::init(this);
}
-StorageInfo::~StorageInfo()
-{
-}
-
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698