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 "content/renderer/renderer_webkitclient_impl.h" | 5 #include "content/renderer/renderer_webkitclient_impl.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "chrome/common/chrome_switches.h" | 13 #include "content/common/content_switches.h" |
14 #include "chrome/common/render_messages.h" | |
15 #include "chrome/renderer/net/renderer_net_predictor.h" | |
16 #include "chrome/renderer/visitedlink_slave.h" | |
17 #include "content/common/database_util.h" | 14 #include "content/common/database_util.h" |
18 #include "content/common/file_system/webfilesystem_impl.h" | 15 #include "content/common/file_system/webfilesystem_impl.h" |
19 #include "content/common/file_utilities_messages.h" | 16 #include "content/common/file_utilities_messages.h" |
20 #include "content/common/mime_registry_messages.h" | 17 #include "content/common/mime_registry_messages.h" |
21 #include "content/common/view_messages.h" | 18 #include "content/common/view_messages.h" |
22 #include "content/common/webblobregistry_impl.h" | 19 #include "content/common/webblobregistry_impl.h" |
23 #include "content/common/webmessageportchannel_impl.h" | 20 #include "content/common/webmessageportchannel_impl.h" |
24 #include "content/plugin/npobject_util.h" | 21 #include "content/plugin/npobject_util.h" |
25 #include "content/renderer/content_renderer_client.h" | 22 #include "content/renderer/content_renderer_client.h" |
26 #include "content/renderer/render_thread.h" | 23 #include "content/renderer/render_thread.h" |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 return WebString::fromUTF8(signed_public_key); | 573 return WebString::fromUTF8(signed_public_key); |
577 } | 574 } |
578 | 575 |
579 //------------------------------------------------------------------------------ | 576 //------------------------------------------------------------------------------ |
580 | 577 |
581 WebBlobRegistry* RendererWebKitClientImpl::blobRegistry() { | 578 WebBlobRegistry* RendererWebKitClientImpl::blobRegistry() { |
582 if (!blob_registry_.get()) | 579 if (!blob_registry_.get()) |
583 blob_registry_.reset(new WebBlobRegistryImpl(RenderThread::current())); | 580 blob_registry_.reset(new WebBlobRegistryImpl(RenderThread::current())); |
584 return blob_registry_.get(); | 581 return blob_registry_.get(); |
585 } | 582 } |
OLD | NEW |