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 #include "chrome/renderer/renderer_webkitclient_impl.h" | 5 #include "chrome/renderer/renderer_webkitclient_impl.h" |
6 | 6 |
7 #if defined(USE_SYSTEM_SQLITE) | 7 #if defined(USE_SYSTEM_SQLITE) |
8 #include <sqlite3.h> | 8 #include <sqlite3.h> |
9 #else | 9 #else |
10 #include "third_party/sqlite/preprocessed/sqlite3.h" | 10 #include "third_party/sqlite/preprocessed/sqlite3.h" |
11 #endif | 11 #endif |
12 | 12 |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
15 #include "base/platform_file.h" | 15 #include "base/platform_file.h" |
16 #include "chrome/common/appcache/appcache_dispatcher.h" | 16 #include "chrome/common/appcache/appcache_dispatcher.h" |
17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
18 #include "chrome/common/db_message_filter.h" | 18 #include "chrome/common/db_message_filter.h" |
19 #include "chrome/common/render_messages.h" | 19 #include "chrome/common/render_messages.h" |
20 #include "chrome/common/webmessageportchannel_impl.h" | 20 #include "chrome/common/webmessageportchannel_impl.h" |
21 #include "chrome/plugin/npobject_util.h" | 21 #include "chrome/plugin/npobject_util.h" |
22 #include "chrome/renderer/net/render_dns_master.h" | 22 #include "chrome/renderer/net/render_dns_master.h" |
23 #include "chrome/renderer/render_thread.h" | 23 #include "chrome/renderer/render_thread.h" |
24 #include "chrome/renderer/renderer_webstoragenamespace_impl.h" | 24 #include "chrome/renderer/renderer_webstoragenamespace_impl.h" |
25 #include "chrome/renderer/visitedlink_slave.h" | 25 #include "chrome/renderer/visitedlink_slave.h" |
26 #include "googleurl/src/gurl.h" | 26 #include "googleurl/src/gurl.h" |
27 #include "webkit/api/public/WebCookie.h" | 27 #include "third_party/WebKit/WebKit/chromium/public/WebCookie.h" |
28 #include "webkit/api/public/WebStorageEventDispatcher.h" | 28 #include "third_party/WebKit/WebKit/chromium/public/WebStorageEventDispatcher.h" |
29 #include "webkit/api/public/WebString.h" | 29 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
30 #include "webkit/api/public/WebURL.h" | 30 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" |
31 #include "webkit/api/public/WebVector.h" | 31 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h" |
32 #include "webkit/appcache/web_application_cache_host_impl.h" | 32 #include "webkit/appcache/web_application_cache_host_impl.h" |
33 #include "webkit/glue/glue_util.h" | 33 #include "webkit/glue/glue_util.h" |
34 #include "webkit/glue/webkit_glue.h" | 34 #include "webkit/glue/webkit_glue.h" |
35 | 35 |
36 #if defined(OS_LINUX) | 36 #if defined(OS_LINUX) |
37 #include "chrome/renderer/renderer_sandbox_support_linux.h" | 37 #include "chrome/renderer/renderer_sandbox_support_linux.h" |
38 #endif | 38 #endif |
39 | 39 |
40 #if defined(OS_POSIX) | 40 #if defined(OS_POSIX) |
41 #include "base/file_descriptor_posix.h" | 41 #include "base/file_descriptor_posix.h" |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 const WebKit::WebString& challenge, | 383 const WebKit::WebString& challenge, |
384 const WebKit::WebURL& url) { | 384 const WebKit::WebURL& url) { |
385 std::string signed_public_key; | 385 std::string signed_public_key; |
386 RenderThread::current()->Send(new ViewHostMsg_Keygen( | 386 RenderThread::current()->Send(new ViewHostMsg_Keygen( |
387 static_cast<uint32>(key_size_index), | 387 static_cast<uint32>(key_size_index), |
388 webkit_glue::WebStringToStdString(challenge), | 388 webkit_glue::WebStringToStdString(challenge), |
389 GURL(url), | 389 GURL(url), |
390 &signed_public_key)); | 390 &signed_public_key)); |
391 return webkit_glue::StdStringToWebString(signed_public_key); | 391 return webkit_glue::StdStringToWebString(signed_public_key); |
392 } | 392 } |
OLD | NEW |