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

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

Issue 159778: Make LocalStorage persistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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
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"
11 #include "webkit/glue/webkitclient_impl.h" 11 #include "webkit/glue/webkitclient_impl.h"
12 12
13 #if defined(OS_WIN) 13 #if defined(OS_WIN)
14 #include "webkit/api/public/win/WebSandboxSupport.h" 14 #include "webkit/api/public/win/WebSandboxSupport.h"
15 #elif defined(OS_LINUX) 15 #elif defined(OS_LINUX)
16 #include <string> 16 #include <string>
17 #include <map> 17 #include <map>
18 #include "base/lock.h" 18 #include "base/lock.h"
19 #include "webkit/api/public/linux/WebSandboxSupport.h" 19 #include "webkit/api/public/linux/WebSandboxSupport.h"
20 #endif 20 #endif
21 21
22 class RendererWebKitClientImpl : public webkit_glue::WebKitClientImpl { 22 class RendererWebKitClientImpl : public webkit_glue::WebKitClientImpl {
23 public: 23 public:
24 // WebKitClient methods: 24 // WebKitClient methods:
25 virtual WebKit::WebClipboard* clipboard(); 25 virtual WebKit::WebClipboard* clipboard();
26 virtual WebKit::WebMimeRegistry* mimeRegistry(); 26 virtual WebKit::WebMimeRegistry* mimeRegistry();
27 virtual WebKit::WebSandboxSupport* sandboxSupport(); 27 virtual WebKit::WebSandboxSupport* sandboxSupport();
28 virtual bool sandboxEnabled();
28 virtual bool getFileSize(const WebKit::WebString& path, long long& result); 29 virtual bool getFileSize(const WebKit::WebString& path, long long& result);
29 virtual unsigned long long visitedLinkHash( 30 virtual unsigned long long visitedLinkHash(
30 const char* canonicalURL, size_t length); 31 const char* canonicalURL, size_t length);
31 virtual bool isLinkVisited(unsigned long long linkHash); 32 virtual bool isLinkVisited(unsigned long long linkHash);
32 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); 33 virtual WebKit::WebMessagePortChannel* createMessagePortChannel();
33 virtual void setCookies(const WebKit::WebURL& url, 34 virtual void setCookies(const WebKit::WebURL& url,
34 const WebKit::WebURL& first_party_for_cookies, 35 const WebKit::WebURL& first_party_for_cookies,
35 const WebKit::WebString&); 36 const WebKit::WebString&);
36 virtual WebKit::WebString cookies( 37 virtual WebKit::WebString cookies(
37 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies); 38 const WebKit::WebURL& url, const WebKit::WebURL& first_party_for_cookies);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 81
81 webkit_glue::WebClipboardImpl clipboard_; 82 webkit_glue::WebClipboardImpl clipboard_;
82 83
83 MimeRegistry mime_registry_; 84 MimeRegistry mime_registry_;
84 #if defined(OS_WIN) || defined(OS_LINUX) 85 #if defined(OS_WIN) || defined(OS_LINUX)
85 SandboxSupport sandbox_support_; 86 SandboxSupport sandbox_support_;
86 #endif 87 #endif
87 }; 88 };
88 89
89 #endif // CHROME_RENDERER_WEBKIT_CLIENT_IMPL_H_ 90 #endif // CHROME_RENDERER_WEBKIT_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_sandbox_host_linux.cc ('k') | chrome/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698