initial import
[vuplus_webkit] / Source / WebCore / platform / haiku / TemporaryLinkStubs.cpp
1 /*
2  * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
3  * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
4  * Copyright (C) 2006 George Staikos <staikos@kde.org>
5  * Copyright (C) 2006 Dirk Mueller <mueller@kde.org>
6  * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
7  * Copyright (C) 2007 Ryan Leavengood <leavengood@gmail.com>
8  * Copyright (C) 2009 Maxime Simon <simon.maxime@gmail.com>
9  *
10  * All rights reserved.
11  *
12  * Redistribution and use in source and binary forms, with or without
13  * modification, are permitted provided that the following conditions
14  * are met:
15  * 1. Redistributions of source code must retain the above copyright
16  *    notice, this list of conditions and the following disclaimer.
17  * 2. Redistributions in binary form must reproduce the above copyright
18  *    notice, this list of conditions and the following disclaimer in the
19  *    documentation and/or other materials provided with the distribution.
20  *
21  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
22  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
25  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
29  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32  */
33
34 #include "config.h"
35
36 #include "CookieStorage.h"
37 #include "KURL.h"
38 #include "NotImplemented.h"
39 #include "PlatformString.h"
40 #include "SSLKeyGenerator.h"
41 #include "SystemTime.h"
42
43 using namespace WebCore;
44
45 Vector<char> loadResourceIntoArray(const char*)
46 {
47     notImplemented();
48     return Vector<char>();
49 }
50
51 namespace WebCore {
52
53 String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String &challengeString, const KURL &url)
54 {
55     return String();
56 }
57
58 void getSupportedKeySizes(Vector<String>&)
59 {
60     notImplemented();
61 }
62
63 float userIdleTime()
64 {
65     notImplemented();
66     return 0;
67 }
68
69 void callOnMainThread(void (*)())
70 {
71     notImplemented();
72 }
73
74 String KURL::fileSystemPath() const
75 {
76     notImplemented();
77     return String();
78 }
79
80 void setCookieStoragePrivateBrowsingEnabled(bool)
81 {
82     notImplemented();
83 }
84
85 void startObservingCookieChanges()
86 {
87     notImplemented();
88 }
89
90 void stopObservingCookieChanges()
91 {
92     notImplemented();
93 }
94
95 } // namespace WebCore
96