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

Unified Diff: ppapi/shared_impl/url_request_info_data.cc

Issue 174213003: PPAPI: Use clang-format on ppapi/shared_impl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove DEPS Created 6 years, 10 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
« no previous file with comments | « ppapi/shared_impl/unittest_utils.cc ('k') | ppapi/shared_impl/url_response_info_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/url_request_info_data.cc
diff --git a/ppapi/shared_impl/url_request_info_data.cc b/ppapi/shared_impl/url_request_info_data.cc
index 15b278756083d9b2fe9471755eabab8ea050c2ba..bb77a43e2423291981f2215186d85f160edf1254 100644
--- a/ppapi/shared_impl/url_request_info_data.cc
+++ b/ppapi/shared_impl/url_request_info_data.cc
@@ -20,8 +20,7 @@ URLRequestInfoData::BodyItem::BodyItem()
file_ref_pp_resource(0),
start_offset(0),
number_of_bytes(-1),
- expected_last_modified_time(0.0) {
-}
+ expected_last_modified_time(0.0) {}
URLRequestInfoData::BodyItem::BodyItem(const std::string& data)
: is_file(false),
@@ -29,21 +28,18 @@ URLRequestInfoData::BodyItem::BodyItem(const std::string& data)
file_ref_pp_resource(0),
start_offset(0),
number_of_bytes(-1),
- expected_last_modified_time(0.0) {
-}
+ expected_last_modified_time(0.0) {}
-URLRequestInfoData::BodyItem::BodyItem(
- Resource* file_ref,
- int64_t start_offset,
- int64_t number_of_bytes,
- PP_Time expected_last_modified_time)
+URLRequestInfoData::BodyItem::BodyItem(Resource* file_ref,
+ int64_t start_offset,
+ int64_t number_of_bytes,
+ PP_Time expected_last_modified_time)
: is_file(true),
file_ref_resource(file_ref),
file_ref_pp_resource(file_ref->pp_resource()),
start_offset(start_offset),
number_of_bytes(number_of_bytes),
- expected_last_modified_time(expected_last_modified_time) {
-}
+ expected_last_modified_time(expected_last_modified_time) {}
URLRequestInfoData::URLRequestInfoData()
: url(),
@@ -63,10 +59,8 @@ URLRequestInfoData::URLRequestInfoData()
custom_user_agent(),
prefetch_buffer_upper_threshold(kDefaultPrefetchBufferUpperThreshold),
prefetch_buffer_lower_threshold(kDefaultPrefetchBufferLowerThreshold),
- body() {
-}
+ body() {}
-URLRequestInfoData::~URLRequestInfoData() {
-}
+URLRequestInfoData::~URLRequestInfoData() {}
} // namespace ppapi
« no previous file with comments | « ppapi/shared_impl/unittest_utils.cc ('k') | ppapi/shared_impl/url_response_info_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698