Index: ui/secure_display/elide_url.h |
diff --git a/chrome/browser/ui/elide_url.h b/ui/secure_display/elide_url.h |
similarity index 94% |
rename from chrome/browser/ui/elide_url.h |
rename to ui/secure_display/elide_url.h |
index b68267cb6d23568496f79644ed2e1aed49d80723..44aafa56c3deea4e4e2e941d07b7d57a01758feb 100644 |
--- a/chrome/browser/ui/elide_url.h |
+++ b/ui/secure_display/elide_url.h |
@@ -4,8 +4,8 @@ |
// |
// This file defines utility functions for eliding URLs. |
-#ifndef CHROME_BROWSER_UI_ELIDE_URL_H_ |
-#define CHROME_BROWSER_UI_ELIDE_URL_H_ |
+#ifndef UI_SECURE_DISPLAY_ELIDE_URL_H_ |
+#define UI_SECURE_DISPLAY_ELIDE_URL_H_ |
#include <string> |
@@ -17,6 +17,7 @@ namespace gfx { |
class FontList; |
} |
+namespace secure_display { |
// This function takes a GURL object and elides it. It returns a string |
// which composed of parts from subdomain, domain, path, filename and query. |
// A "..." is added automatically at the end if the elided string is bigger |
@@ -61,4 +62,6 @@ base::string16 ElideHost(const GURL& host_url, |
base::string16 FormatUrlForSecurityDisplay(const GURL& origin, |
const std::string& languages); |
-#endif // CHROME_BROWSER_UI_ELIDE_URL_H_ |
+} // namespace |
+ |
+#endif // UI_SECURE_DISPLAY_ELIDE_URL_H_ |