From 9306fecea869fb3a7027bfe4b20f45e6048eeed9 Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Sun, 17 Nov 2013 18:56:44 -0500 Subject: [PATCH] Fix cpplint errors in content_client.cc --- brightray/common/content_client.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/brightray/common/content_client.cc b/brightray/common/content_client.cc index 4f45ba7cd4b5..dd6ce530690c 100644 --- a/brightray/common/content_client.cc +++ b/brightray/common/content_client.cc @@ -22,19 +22,23 @@ ContentClient::~ContentClient() { std::string ContentClient::GetProduct() const { auto name = GetApplicationName(); RemoveChars(name, kWhitespaceASCII, &name); - return base::StringPrintf("%s/%s", name.c_str(), GetApplicationVersion().c_str()); + return base::StringPrintf("%s/%s", + name.c_str(), GetApplicationVersion().c_str()); } std::string ContentClient::GetUserAgent() const { return webkit_glue::BuildUserAgentFromProduct(GetProduct()); } -base::StringPiece ContentClient::GetDataResource(int resource_id, ui::ScaleFactor scale_factor) const { - return ui::ResourceBundle::GetSharedInstance().GetRawDataResourceForScale(resource_id, scale_factor); +base::StringPiece ContentClient::GetDataResource( + int resource_id, ui::ScaleFactor scale_factor) const { + return ui::ResourceBundle::GetSharedInstance().GetRawDataResourceForScale( + resource_id, scale_factor); } gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const { - return ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id); + return ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed( + resource_id); } } // namespace brightray