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

Side by Side Diff: webkit/tools/test_shell/test_worker/test_worker_main.cc

Issue 147248: DOM Storage: Add renderer-process IPC code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « webkit/tools/test_shell/test_shell_webkit_init.h ('k') | webkit/webkit.gyp » ('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. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 virtual WebKit::WebString defaultLocale() { 84 virtual WebKit::WebString defaultLocale() {
85 NOTREACHED(); 85 NOTREACHED();
86 return WebKit::WebString(); 86 return WebKit::WebString();
87 } 87 }
88 88
89 virtual void callOnMainThread(void (*func)()) { 89 virtual void callOnMainThread(void (*func)()) {
90 helper_->DispatchToMainThread(func); 90 helper_->DispatchToMainThread(func);
91 } 91 }
92 92
93 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
94 const WebKit::WebString& path) {
95 NOTREACHED();
96 return 0;
97 }
98
99 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace() {
100 NOTREACHED();
101 return 0;
102 }
103
93 private: 104 private:
94 TestWebWorkerHelper* helper_; 105 TestWebWorkerHelper* helper_;
95 }; 106 };
96 107
97 // WebKit client used in DLL. 108 // WebKit client used in DLL.
98 static scoped_ptr<WorkerWebKitClientImpl> webkit_client; 109 static scoped_ptr<WorkerWebKitClientImpl> webkit_client;
99 110
100 #if defined(COMPILER_GCC) 111 #if defined(COMPILER_GCC)
101 #pragma GCC visibility push(default) 112 #pragma GCC visibility push(default)
102 #endif 113 #endif
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 bool DownloadUrl(const std::string& url, HWND caller_window) { 234 bool DownloadUrl(const std::string& url, HWND caller_window) {
224 return false; 235 return false;
225 } 236 }
226 #endif 237 #endif
227 238
228 } // namespace webkit_glue 239 } // namespace webkit_glue
229 240
230 #if defined(COMPILER_GCC) 241 #if defined(COMPILER_GCC)
231 #pragma GCC visibility pop 242 #pragma GCC visibility pop
232 #endif 243 #endif
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell_webkit_init.h ('k') | webkit/webkit.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698