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

Unified Diff: chrome/common/net/url_util.h

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/chrome_tests.gypi ('k') | chrome/common/net/url_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/url_util.h
diff --git a/chrome/browser/net/browser_url_util.h b/chrome/common/net/url_util.h
similarity index 89%
rename from chrome/browser/net/browser_url_util.h
rename to chrome/common/net/url_util.h
index 2669c27c288cf4245635d95e7b996a1e582c1204..c801d40669bbc979da61ebe46092a17d323a5f98 100644
--- a/chrome/browser/net/browser_url_util.h
+++ b/chrome/common/net/url_util.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_NET_BROWSER_URL_UTIL_H_
-#define CHROME_BROWSER_NET_BROWSER_URL_UTIL_H_
+#ifndef CHROME_COMMON_NET_URL_UTIL_H_
+#define CHROME_COMMON_NET_URL_UTIL_H_
#pragma once
#include <string>
@@ -14,7 +14,7 @@ namespace ui {
class Clipboard;
}
-namespace chrome_browser_net {
+namespace chrome_common_net {
// Writes a string representation of |url| to the system clipboard.
void WriteURLToClipboard(const GURL& url,
@@ -52,6 +52,6 @@ GURL AppendOrReplaceQueryParameter(const GURL& url,
const std::string& name,
const std::string& value);
-} // namespace chrome_browser_net
+} // namespace chrome_common_net
-#endif // CHROME_BROWSER_NET_BROWSER_URL_UTIL_H_
+#endif // CHROME_COMMON_NET_URL_UTIL_H_
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/net/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698