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

Unified Diff: net/base/upload_element.h

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/base/upload_element.h
diff --git a/net/base/upload_element.h b/net/base/upload_element.h
index 34f601464d9ab57acf04f310a1028f68083e03a7..df832fa4fdfe2e502575988a330ae39de3c54882 100644
--- a/net/base/upload_element.h
+++ b/net/base/upload_element.h
@@ -59,7 +59,8 @@ class NET_EXPORT UploadElement {
// change. Also note that the granularity for comparison is time_t, not
// the full precision.
void SetToFilePathRange(const base::FilePath& path,
- uint64 offset, uint64 length,
+ uint64 offset,
+ uint64 length,
const base::Time& expected_modification_time) {
type_ = TYPE_FILE;
file_path_ = path;
@@ -82,8 +83,7 @@ class NET_EXPORT UploadElement {
};
#if defined(UNIT_TEST)
-inline bool operator==(const UploadElement& a,
- const UploadElement& b) {
+inline bool operator==(const UploadElement& a, const UploadElement& b) {
if (a.type() != b.type())
return false;
if (a.type() == UploadElement::TYPE_BYTES)
@@ -94,13 +94,12 @@ inline bool operator==(const UploadElement& a,
a.file_range_offset() == b.file_range_offset() &&
a.file_range_length() == b.file_range_length() &&
a.expected_file_modification_time() ==
- b.expected_file_modification_time();
+ b.expected_file_modification_time();
}
return false;
}
-inline bool operator!=(const UploadElement& a,
- const UploadElement& b) {
+inline bool operator!=(const UploadElement& a, const UploadElement& b) {
return !(a == b);
}
#endif // defined(UNIT_TEST)

Powered by Google App Engine
This is Rietveld 408576698