OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "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/database_util.h" | 18 #include "chrome/common/database_util.h" |
19 #include "chrome/common/db_message_filter.h" | |
20 #include "chrome/common/render_messages.h" | 19 #include "chrome/common/render_messages.h" |
21 #include "chrome/common/webmessageportchannel_impl.h" | 20 #include "chrome/common/webmessageportchannel_impl.h" |
22 #include "chrome/plugin/npobject_util.h" | 21 #include "chrome/plugin/npobject_util.h" |
23 #include "chrome/renderer/net/render_dns_master.h" | 22 #include "chrome/renderer/net/render_dns_master.h" |
24 #include "chrome/renderer/render_thread.h" | 23 #include "chrome/renderer/render_thread.h" |
25 #include "chrome/renderer/render_view.h" | 24 #include "chrome/renderer/render_view.h" |
26 #include "chrome/renderer/renderer_webstoragenamespace_impl.h" | 25 #include "chrome/renderer/renderer_webstoragenamespace_impl.h" |
27 #include "chrome/renderer/visitedlink_slave.h" | 26 #include "chrome/renderer/visitedlink_slave.h" |
28 #include "chrome/renderer/webgraphicscontext3d_command_buffer_impl.h" | 27 #include "chrome/renderer/webgraphicscontext3d_command_buffer_impl.h" |
29 #include "googleurl/src/gurl.h" | 28 #include "googleurl/src/gurl.h" |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 const WebKit::WebString& challenge, | 327 const WebKit::WebString& challenge, |
329 const WebKit::WebURL& url) { | 328 const WebKit::WebURL& url) { |
330 std::string signed_public_key; | 329 std::string signed_public_key; |
331 RenderThread::current()->Send(new ViewHostMsg_Keygen( | 330 RenderThread::current()->Send(new ViewHostMsg_Keygen( |
332 static_cast<uint32>(key_size_index), | 331 static_cast<uint32>(key_size_index), |
333 challenge.utf8(), | 332 challenge.utf8(), |
334 GURL(url), | 333 GURL(url), |
335 &signed_public_key)); | 334 &signed_public_key)); |
336 return WebString::fromUTF8(signed_public_key); | 335 return WebString::fromUTF8(signed_public_key); |
337 } | 336 } |
OLD | NEW |