Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / webdatabase / DOMWindowWebDatabase.h
index 348851f..effca8c 100644 (file)
 #ifndef DOMWindowWebDatabase_h
 #define DOMWindowWebDatabase_h
 
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
-#include "wtf/RefPtr.h"
+#include "platform/heap/Handle.h"
+#include "wtf/Forward.h"
 #include "wtf/text/WTFString.h"
 
-namespace WebCore {
+namespace blink {
 
-class DOMWindow;
+class LocalDOMWindow;
 class Database;
 class DatabaseCallback;
 class ExceptionState;
-class Frame;
+class LocalFrame;
 
 class DOMWindowWebDatabase {
 public:
-    static PassRefPtr<Database> openDatabase(DOMWindow*, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionState&);
+    static PassRefPtrWillBeRawPtr<Database> openDatabase(LocalDOMWindow&, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassOwnPtr<DatabaseCallback> creationCallback, ExceptionState&);
 
 private:
     DOMWindowWebDatabase() { };
     ~DOMWindowWebDatabase() { };
 };
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // DOMWindowWebDatabase_h