blob: e0af8e66a3ef3f34f0d633ed00063f8fafd7a77d [file] [log] [blame]
// googleurl requires that it is properly initialized before it can be
// used in a multi-threaded context. Invoking googleurl initialization
// from a module initializer makes sure these functions are called by
// InitGoogle() at startup.
#include "base/googleinit.h"
#include "third_party/googleurl/googleurl/src/url_util.h"
namespace {
void InitGoogleUrl() {
url_util::Initialize();
}
} // namespace
REGISTER_MODULE_INITIALIZER(GoogleUrlInit, { InitGoogleUrl(); });