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

Unified Diff: net/tools/tld_cleanup/tld_cleanup.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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) {

Powered by Google App Engine
This is Rietveld 408576698