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

Unified Diff: src/url_canon_stdstring.h

Issue 2939004: Add option to build googleurl as dll... (Closed) Base URL: http://google-url.googlecode.com/svn/trunk/
Patch Set: '' Created 10 years, 5 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 | « src/url_canon_ip.h ('k') | src/url_common.h » ('j') | src/url_common.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/url_canon_stdstring.h
===================================================================
--- src/url_canon_stdstring.h (revision 137)
+++ src/url_canon_stdstring.h (working copy)
@@ -31,15 +31,15 @@
// strings. Because the canonicalizer tries not to be dependent on the STL,
// we have segregated it here.
-#ifndef GOOGLEURL_SRC_URL_CANON_STRING_H__
-#define GOOGLEURL_SRC_URL_CANON_STRING_H__
+#ifndef GOOGLEURL_SRC_URL_CANON_STDSTRING_H__
+#define GOOGLEURL_SRC_URL_CANON_STDSTRING_H__
#include <string>
#include "googleurl/src/url_canon.h"
namespace url_canon {
-// Write into a std::string given in the constructor. This object odes not own
+// Write into a std::string given in the constructor. This object does not own
// the string itself, and the user must ensure that the string stays alive
// throughout the lifetime of this object.
//
@@ -82,7 +82,7 @@
}
protected:
- std::string* str_;
+ std::string* str_;
};
// An extension of the Replacements class that allows the setters to use
@@ -130,4 +130,5 @@
} // namespace url_canon
-#endif // GOOGLEURL_SRC_URL_CANON_STRING_H__
+#endif // GOOGLEURL_SRC_URL_CANON_STDSTRING_H__
+
« no previous file with comments | « src/url_canon_ip.h ('k') | src/url_common.h » ('j') | src/url_common.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698