Index: shell/application_manager/application_manager.cc |
diff --git a/shell/application_manager/application_manager.cc b/shell/application_manager/application_manager.cc |
index 5f66af5dd076304f49be1dcde959f579b656c9f3..bc4759513befc6fa76e858b1ea69b0f3a4511608 100644 |
--- a/shell/application_manager/application_manager.cc |
+++ b/shell/application_manager/application_manager.cc |
@@ -19,6 +19,7 @@ |
#include "shell/application_manager/fetcher.h" |
#include "shell/application_manager/local_fetcher.h" |
#include "shell/application_manager/network_fetcher.h" |
+#include "shell/application_manager/query_util.h" |
namespace mojo { |
@@ -26,16 +27,6 @@ namespace { |
// Used by TestAPI. |
bool has_created_instance = false; |
-GURL StripQueryFromURL(const GURL& url) { |
- GURL::Replacements repl; |
- repl.SetQueryStr(""); |
- std::string result = url.ReplaceComponents(repl).spec(); |
- |
- // Remove the dangling '?' because it's ugly. |
- base::ReplaceChars(result, "?", "", &result); |
- return GURL(result); |
-} |
- |
} // namespace |
ApplicationManager::Delegate::~Delegate() { |