Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1097)

Unified Diff: chrome/browser/intents/cws_intents_registry.cc

Issue 10384086: Moved url_utils from chrome/browser/net to chrome/common/net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google/google_util.cc ('k') | chrome/browser/net/browser_url_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/intents/cws_intents_registry.cc
diff --git a/chrome/browser/intents/cws_intents_registry.cc b/chrome/browser/intents/cws_intents_registry.cc
index e17f0b023619f948230cdbcbd817fba8e92ef0fe..fd00f1b942bf111f1989d310a422da861815b293 100644
--- a/chrome/browser/intents/cws_intents_registry.cc
+++ b/chrome/browser/intents/cws_intents_registry.cc
@@ -11,12 +11,12 @@
#include "base/string16.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/intents/api_key.h"
-#include "chrome/browser/net/browser_url_util.h"
#include "chrome/browser/net/chrome_url_request_context.h"
#include "chrome/browser/webdata/web_data_service.h"
+#include "chrome/common/net/url_util.h"
#include "content/public/common/url_fetcher.h"
-#include "net/base/mime_util.h"
#include "net/base/load_flags.h"
+#include "net/base/mime_util.h"
namespace {
@@ -161,12 +161,12 @@ void CWSIntentsRegistry::GetIntentServices(const string16& action,
GURL CWSIntentsRegistry::BuildQueryURL(const string16& action,
const string16& type) {
GURL request(kCWSIntentServiceURL);
- request = chrome_browser_net::AppendQueryParameter(request, "intent",
+ request = chrome_common_net::AppendQueryParameter(request, "intent",
UTF16ToUTF8(action));
- request = chrome_browser_net::AppendQueryParameter(request, "mime_types",
+ request = chrome_common_net::AppendQueryParameter(request, "mime_types",
UTF16ToUTF8(type));
if (web_intents::kApiKey[0]) {
- request = chrome_browser_net::AppendQueryParameter(request, "key",
+ request = chrome_common_net::AppendQueryParameter(request, "key",
web_intents::kApiKey);
}
« no previous file with comments | « chrome/browser/google/google_util.cc ('k') | chrome/browser/net/browser_url_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698