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

Side by Side Diff: chrome/worker/worker_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_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ 5 #ifndef CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_
6 #define CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ 6 #define CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_
7 7
8 #include "webkit/glue/webkitclient_impl.h" 8 #include "webkit/glue/webkitclient_impl.h"
9 9
10 class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl { 10 class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl {
11 public: 11 public:
12 // WebKitClient methods: 12 // WebKitClient methods:
13 virtual WebKit::WebClipboard* clipboard(); 13 virtual WebKit::WebClipboard* clipboard();
14 virtual WebKit::WebMimeRegistry* mimeRegistry(); 14 virtual WebKit::WebMimeRegistry* mimeRegistry();
15 virtual WebKit::WebSandboxSupport* sandboxSupport(); 15 virtual WebKit::WebSandboxSupport* sandboxSupport();
16 virtual bool sandboxEnabled();
16 virtual unsigned long long visitedLinkHash(const char* canonicalURL, 17 virtual unsigned long long visitedLinkHash(const char* canonicalURL,
17 size_t length); 18 size_t length);
18 virtual bool isLinkVisited(unsigned long long linkHash); 19 virtual bool isLinkVisited(unsigned long long linkHash);
19 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); 20 virtual WebKit::WebMessagePortChannel* createMessagePortChannel();
20 virtual void setCookies(const WebKit::WebURL& url, 21 virtual void setCookies(const WebKit::WebURL& url,
21 const WebKit::WebURL& policy_url, 22 const WebKit::WebURL& policy_url,
22 const WebKit::WebString& value); 23 const WebKit::WebString& value);
23 virtual WebKit::WebString cookies(const WebKit::WebURL& url, 24 virtual WebKit::WebString cookies(const WebKit::WebURL& url,
24 const WebKit::WebURL& policy_url); 25 const WebKit::WebURL& policy_url);
25 virtual void prefetchHostName(const WebKit::WebString&); 26 virtual void prefetchHostName(const WebKit::WebString&);
26 virtual bool getFileSize(const WebKit::WebString& path, long long& result); 27 virtual bool getFileSize(const WebKit::WebString& path, long long& result);
27 virtual WebKit::WebString defaultLocale(); 28 virtual WebKit::WebString defaultLocale();
28 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 29 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
29 const WebKit::WebString& path); 30 const WebKit::WebString& path);
30 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(); 31 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace();
31 }; 32 };
32 33
33 #endif // CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ 34 #endif // CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_webkitclient_impl.cc ('k') | chrome/worker/worker_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698