| Index: net/tools/tld_cleanup/tld_cleanup.cc
|
| diff --git a/net/tools/tld_cleanup/tld_cleanup.cc b/net/tools/tld_cleanup/tld_cleanup.cc
|
| index a4b127bdf2c3f3e92904ef22c0b0ee7166362a69..f8b8ad833b8e607e5f25b0dac9d8d59f36343ca3 100644
|
| --- a/net/tools/tld_cleanup/tld_cleanup.cc
|
| +++ b/net/tools/tld_cleanup/tld_cleanup.cc
|
| @@ -45,12 +45,11 @@ int main(int argc, const char* argv[]) {
|
| // Manages the destruction of singletons.
|
| base::AtExitManager exit_manager;
|
|
|
| - // Only use OutputDebugString in debug mode.
|
| +// Only use OutputDebugString in debug mode.
|
| #ifdef NDEBUG
|
| logging::LoggingDestination destination = logging::LOG_TO_FILE;
|
| #else
|
| - logging::LoggingDestination destination =
|
| - logging::LOG_TO_ALL;
|
| + logging::LoggingDestination destination = logging::LOG_TO_ALL;
|
| #endif
|
|
|
| CommandLine::Init(argc, argv);
|
| @@ -69,18 +68,15 @@ int main(int argc, const char* argv[]) {
|
| base::FilePath input_file;
|
| PathService::Get(base::DIR_SOURCE_ROOT, &input_file);
|
| input_file = input_file.Append(FILE_PATH_LITERAL("net"))
|
| - .Append(FILE_PATH_LITERAL("base"))
|
| - .Append(FILE_PATH_LITERAL(
|
| - "registry_controlled_domains"))
|
| - .Append(FILE_PATH_LITERAL("effective_tld_names.dat"));
|
| + .Append(FILE_PATH_LITERAL("base"))
|
| + .Append(FILE_PATH_LITERAL("registry_controlled_domains"))
|
| + .Append(FILE_PATH_LITERAL("effective_tld_names.dat"));
|
| base::FilePath output_file;
|
| PathService::Get(base::DIR_SOURCE_ROOT, &output_file);
|
| output_file = output_file.Append(FILE_PATH_LITERAL("net"))
|
| - .Append(FILE_PATH_LITERAL("base"))
|
| - .Append(FILE_PATH_LITERAL(
|
| - "registry_controlled_domains"))
|
| - .Append(FILE_PATH_LITERAL(
|
| - "effective_tld_names.gperf"));
|
| + .Append(FILE_PATH_LITERAL("base"))
|
| + .Append(FILE_PATH_LITERAL("registry_controlled_domains"))
|
| + .Append(FILE_PATH_LITERAL("effective_tld_names.gperf"));
|
| net::tld_cleanup::NormalizeResult result =
|
| net::tld_cleanup::NormalizeFile(input_file, output_file);
|
| if (result != net::tld_cleanup::kSuccess) {
|
|
|