diff options
author | Xiao Zhang <xiaozhang1@blackberry.com> | 2013-12-10 15:16:40 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-10 09:26:01 +0100 |
commit | 84fc0e2476ddfc7a5eb2750f3c9b8679a01f948c (patch) | |
tree | 84388a0f1c7e67d439f5fe51b00ac6cfebaa29e3 /src/core/content_browser_client_qt.cpp | |
parent | ae600d6b0fdb4bf9b5589df7bac162b1b112c7dd (diff) |
Add ftp protocol handler.
Change-Id: Ib5ec11a23d609414f609969dbb2933d83eb6e3bd
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'src/core/content_browser_client_qt.cpp')
-rw-r--r-- | src/core/content_browser_client_qt.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index 9bc9bfe5e..24b478268 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -47,9 +47,6 @@ #include "content/public/common/main_function_params.h" #include "content/public/browser/child_process_security_policy.h" #include "content/public/common/url_constants.h" -#include "grit/net_resources.h" -#include "net/base/net_module.h" -#include "ui/base/resource/resource_bundle.h" #include "ui/gl/gl_context.h" #include "ui/gl/gl_implementation.h" #include "ui/gl/gl_share_group.h" @@ -161,14 +158,6 @@ base::MessagePump* messagePumpFactory() } // namespace -static base::StringPiece PlatformResourceProvider(int key) { - if (key == IDR_DIR_HEADER_HTML) { - base::StringPiece html_data = ui::ResourceBundle::GetSharedInstance().GetRawDataResource(IDR_DIR_HEADER_HTML); - return html_data; - } - return base::StringPiece(); -} - class BrowserMainPartsQt : public content::BrowserMainParts { public: @@ -178,8 +167,6 @@ public: void PreMainMessageLoopStart() Q_DECL_OVERRIDE { - net::NetModule::SetResourceProvider(PlatformResourceProvider); - ui::ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL); base::MessageLoop::InitMessagePumpForUIFactory(::messagePumpFactory); } |