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

Side by Side Diff: chrome/renderer/renderer_webkitclient_impl.h

Issue 174232: Chromium side patch for DB support on Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Final version, including changes to the DEPS file. Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_ 5 #ifndef CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_
6 #define CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_ 6 #define CHROME_RENDERER_RENDERER_WEBKIT_CLIENT_IMPL_H_
7 7
8 #include "base/platform_file.h" 8 #include "base/platform_file.h"
9 #include "webkit/glue/simple_webmimeregistry_impl.h" 9 #include "webkit/glue/simple_webmimeregistry_impl.h"
10 #include "webkit/glue/webclipboard_impl.h" 10 #include "webkit/glue/webclipboard_impl.h"
(...skipping 26 matching lines...) Expand all
37 virtual WebKit::WebString cookies( 37 virtual WebKit::WebString cookies(
38 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); 38 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies);
39 virtual void prefetchHostName(const WebKit::WebString&); 39 virtual void prefetchHostName(const WebKit::WebString&);
40 virtual WebKit::WebString defaultLocale(); 40 virtual WebKit::WebString defaultLocale();
41 virtual void suddenTerminationChanged(bool enabled); 41 virtual void suddenTerminationChanged(bool enabled);
42 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 42 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
43 const WebKit::WebString& path); 43 const WebKit::WebString& path);
44 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); 44 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace();
45 45
46 virtual base::PlatformFile databaseOpenFile( 46 virtual base::PlatformFile databaseOpenFile(
47 const WebKit::WebString& file_name, int desired_flags); 47 const WebKit::WebString& file_name, int desired_flags,
48 virtual bool databaseDeleteFile(const WebKit::WebString& file_name); 48 base::PlatformFile* dir_handle);
49 virtual int databaseDeleteFile(const WebKit::WebString& file_name,
50 bool sync_dir);
49 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); 51 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name);
50 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); 52 virtual long long databaseGetFileSize(const WebKit::WebString& file_name);
51 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( 53 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
52 WebKit::WebApplicationCacheHostClient*); 54 WebKit::WebApplicationCacheHostClient*);
53 55
54 private: 56 private:
55 class MimeRegistry : public webkit_glue::SimpleWebMimeRegistryImpl { 57 class MimeRegistry : public webkit_glue::SimpleWebMimeRegistryImpl {
56 public: 58 public:
57 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); 59 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);
58 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); 60 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);
(...skipping 24 matching lines...) Expand all
83 85
84 webkit_glue::WebClipboardImpl clipboard_; 86 webkit_glue::WebClipboardImpl clipboard_;
85 87
86 MimeRegistry mime_registry_; 88 MimeRegistry mime_registry_;
87 #if defined(OS_WIN) || defined(OS_LINUX) 89 #if defined(OS_WIN) || defined(OS_LINUX)
88 SandboxSupport sandbox_support_; 90 SandboxSupport sandbox_support_;
89 #endif 91 #endif
90 }; 92 };
91 93
92 #endif // CHROME_RENDERER_WEBKIT_CLIENT_IMPL_H_ 94 #endif // CHROME_RENDERER_WEBKIT_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698