diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-06-12 17:34:38 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-06-12 17:38:05 +0200 |
commit | 30d205d5663ab0baeb571d80f1e4d27981d5b4a1 (patch) | |
tree | e43566e2243899707f9fb0821dba5d2afe651461 /lib/content_browser_client_qt.cpp | |
parent | 0f0c301265d0acd2ea15769b0930eb4054e54a3d (diff) |
Quick cleanup.
Diffstat (limited to 'lib/content_browser_client_qt.cpp')
-rw-r--r-- | lib/content_browser_client_qt.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/content_browser_client_qt.cpp b/lib/content_browser_client_qt.cpp index d974e8e79..68eab7f65 100644 --- a/lib/content_browser_client_qt.cpp +++ b/lib/content_browser_client_qt.cpp @@ -42,31 +42,11 @@ #include "content_browser_client_qt.h" #include "content/public/browser/browser_main_parts.h" -#include "content/public/browser/notification_source.h" -#include "content/public/browser/notification_types.h" -#include "content/public/browser/render_process_host.h" #include "content/public/common/main_function_params.h" -#include "net/base/net_module.h" -#include "net/base/net_util.h" #include "browser_context_qt.h" #include "web_contents_view_qt.h" -static GURL GetStartupURL() { - CommandLine* command_line = CommandLine::ForCurrentProcess(); - const CommandLine::StringVector& args = command_line->GetArgs(); - - if (args.empty()) - return GURL("http://www.google.com/"); - - GURL url(args[0]); - if (url.is_valid() && url.has_scheme()) - return url; - - return net::FilePathToFileURL(base::FilePath(args[0])); -} - - class BrowserMainPartsQt : public content::BrowserMainParts { public: |