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

Unified Diff: net/ftp/ftp_util.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/ftp/ftp_util.cc
diff --git a/net/ftp/ftp_util.cc b/net/ftp/ftp_util.cc
index b5580664736bc1aa613dc680c569e67f6a789270..5462363ea3826bdab8571d9cfede4df672b8df0b 100644
--- a/net/ftp/ftp_util.cc
+++ b/net/ftp/ftp_util.cc
@@ -174,7 +174,7 @@ class AbbreviatedMonthsMap {
for (int32_t month = 0; month < months_count; month++) {
base::string16 month_name(months[month].getBuffer(),
- static_cast<size_t>(months[month].length()));
+ static_cast<size_t>(months[month].length()));
// Ignore the case of the month names. The simplest way to handle that
// is to make everything lowercase.
@@ -228,7 +228,7 @@ bool FtpUtil::LsDateListingToTime(const base::string16& month,
const base::string16& rest,
const base::Time& current_time,
base::Time* result) {
- base::Time::Exploded time_exploded = { 0 };
+ base::Time::Exploded time_exploded = {0};
if (!AbbreviatedMonthToNumber(month, &time_exploded.month)) {
// Work around garbage sent by some servers in the same column
@@ -292,7 +292,7 @@ bool FtpUtil::LsDateListingToTime(const base::string16& month,
bool FtpUtil::WindowsDateListingToTime(const base::string16& date,
const base::string16& time,
base::Time* result) {
- base::Time::Exploded time_exploded = { 0 };
+ base::Time::Exploded time_exploded = {0};
// Date should be in format MM-DD-YY[YY].
std::vector<base::string16> date_parts;

Powered by Google App Engine
This is Rietveld 408576698