summaryrefslogtreecommitdiffstats
path: root/url/url_canon_icu.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-18 21:19:45 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-18 21:19:45 +0000
commit318076b4adca3868e0f2438953e69f2ce2d6336f (patch)
tree98d4c5d4a5442c86c526cca6538a099de4f04360 /url/url_canon_icu.h
parent3c9185a2ddfbe06f42d0aca50d1a6e33b3ed3a8b (diff)
downloadchromium_src-318076b4adca3868e0f2438953e69f2ce2d6336f.zip
chromium_src-318076b4adca3868e0f2438953e69f2ce2d6336f.tar.gz
chromium_src-318076b4adca3868e0f2438953e69f2ce2d6336f.tar.bz2
url: Build it as a static library.
This is temporary just to avoid weird link issues in Windows XP. - Update the gyp file. - Rename the gyp file from googleurl.gyp to url.gyp, so it matches the directory name. - Update the header include paths. - Update the header include guards. - Rename the target name from googleurl to url and googleurl_unittests to url_unittests. - Remove GURL_API (this will be replaced by URL_EXPORT when we componentize it again). - Remove url_common.h (will be replaced by url_export.h when we componentize it again). BUG=229660 TEST=url_unittests R=brettw@chromium.org Review URL: https://codereview.chromium.org/13998025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url/url_canon_icu.h')
-rw-r--r--url/url_canon_icu.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/url/url_canon_icu.h b/url/url_canon_icu.h
index e529fcb..3984fa2 100644
--- a/url/url_canon_icu.h
+++ b/url/url_canon_icu.h
@@ -27,12 +27,12 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// ICU integration functions.
+#ifndef URL_URL_CANON_ICU_H_
+#define URL_URL_CANON_ICU_H_
-#ifndef GOOGLEURL_SRC_URL_CANON_ICU_H__
-#define GOOGLEURL_SRC_URL_CANON_ICU_H__
+// ICU integration functions.
-#include "googleurl/src/url_canon.h"
+#include "url/url_canon.h"
typedef struct UConverter UConverter;
@@ -45,13 +45,13 @@ class ICUCharsetConverter : public CharsetConverter {
// Constructs a converter using an already-existing ICU character set
// converter. This converter is NOT owned by this object; the lifetime must
// be managed by the creator such that it is alive as long as this is.
- GURL_API ICUCharsetConverter(UConverter* converter);
+ ICUCharsetConverter(UConverter* converter);
- GURL_API virtual ~ICUCharsetConverter();
+ virtual ~ICUCharsetConverter();
- GURL_API virtual void ConvertFromUTF16(const char16* input,
- int input_len,
- CanonOutput* output);
+ virtual void ConvertFromUTF16(const char16* input,
+ int input_len,
+ CanonOutput* output);
private:
// The ICU converter, not owned by this class.
@@ -60,4 +60,4 @@ class ICUCharsetConverter : public CharsetConverter {
} // namespace url_canon
-#endif // GOOGLEURL_SRC_URL_CANON_ICU_H__
+#endif // URL_URL_CANON_ICU_H_