OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_CLIENT_IMPL_H_ | 5 #ifndef WEBKIT_CLIENT_IMPL_H_ |
6 #define WEBKIT_CLIENT_IMPL_H_ | 6 #define WEBKIT_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
9 #include "base/timer.h" | 9 #include "base/timer.h" |
10 #include "webkit/api/public/WebKitClient.h" | 10 #include "webkit/api/public/WebKitClient.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 const WebKit::WebString& origin, bool isLocalStorage); | 45 const WebKit::WebString& origin, bool isLocalStorage); |
46 | 46 |
47 virtual base::PlatformFile databaseOpenFile( | 47 virtual base::PlatformFile databaseOpenFile( |
48 const WebKit::WebString& file_name, int desired_flags, | 48 const WebKit::WebString& file_name, int desired_flags, |
49 base::PlatformFile* dir_handle); | 49 base::PlatformFile* dir_handle); |
50 virtual int databaseDeleteFile(const WebKit::WebString& file_name, | 50 virtual int databaseDeleteFile(const WebKit::WebString& file_name, |
51 bool sync_dir); | 51 bool sync_dir); |
52 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); | 52 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); |
53 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); | 53 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); |
54 | 54 |
| 55 virtual WebKit::WebString signedPublicKeyAndChallengeString( |
| 56 unsigned key_size_index, const WebKit::WebString& challenge, |
| 57 const WebKit::WebURL& url); |
| 58 |
55 virtual bool fileExists(const WebKit::WebString& path); | 59 virtual bool fileExists(const WebKit::WebString& path); |
56 virtual bool deleteFile(const WebKit::WebString& path); | 60 virtual bool deleteFile(const WebKit::WebString& path); |
57 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); | 61 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); |
58 virtual bool getFileSize(const WebKit::WebString& path, long long& result); | 62 virtual bool getFileSize(const WebKit::WebString& path, long long& result); |
59 virtual bool getFileModificationTime(const WebKit::WebString& path, | 63 virtual bool getFileModificationTime(const WebKit::WebString& path, |
60 time_t& result); | 64 time_t& result); |
61 virtual WebKit::WebString directoryName(const WebKit::WebString& path); | 65 virtual WebKit::WebString directoryName(const WebKit::WebString& path); |
62 virtual WebKit::WebString pathByAppendingComponent( | 66 virtual WebKit::WebString pathByAppendingComponent( |
63 const WebKit::WebString& path, const WebKit::WebString& component); | 67 const WebKit::WebString& path, const WebKit::WebString& component); |
64 virtual bool makeAllDirectories(const WebKit::WebString& path); | 68 virtual bool makeAllDirectories(const WebKit::WebString& path); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 void (*shared_timer_func_)(); | 107 void (*shared_timer_func_)(); |
104 | 108 |
105 #if defined(OS_WIN) | 109 #if defined(OS_WIN) |
106 WebThemeEngineImpl theme_engine_; | 110 WebThemeEngineImpl theme_engine_; |
107 #endif | 111 #endif |
108 }; | 112 }; |
109 | 113 |
110 } // namespace webkit_glue | 114 } // namespace webkit_glue |
111 | 115 |
112 #endif // WEBKIT_CLIENT_IMPL_H_ | 116 #endif // WEBKIT_CLIENT_IMPL_H_ |
OLD | NEW |