Fix cpp linting issues

This commit is contained in:
Samuel Attard 2016-08-16 15:54:30 +10:00
parent ce986590cf
commit 14154e374a
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF
4 changed files with 24 additions and 12 deletions

View file

@ -46,7 +46,8 @@ void Browser::ClearRecentDocuments() {
[[NSDocumentController sharedDocumentController] clearRecentDocuments:nil];
}
bool Browser::RemoveAsDefaultProtocolClient(const std::string& protocol, mate::Arguments* args) {
bool Browser::RemoveAsDefaultProtocolClient(const std::string& protocol,
mate::Arguments* args) {
NSString* identifier = [base::mac::MainBundle() bundleIdentifier];
if (!identifier)
return false;
@ -74,7 +75,8 @@ bool Browser::RemoveAsDefaultProtocolClient(const std::string& protocol, mate::A
return return_code == noErr;
}
bool Browser::SetAsDefaultProtocolClient(const std::string& protocol, mate::Arguments* args) {
bool Browser::SetAsDefaultProtocolClient(const std::string& protocol,
mate::Arguments* args) {
if (protocol.empty())
return false;
@ -89,7 +91,8 @@ bool Browser::SetAsDefaultProtocolClient(const std::string& protocol, mate::Argu
return return_code == noErr;
}
bool Browser::IsDefaultProtocolClient(const std::string& protocol, mate::Arguments* args) {
bool Browser::IsDefaultProtocolClient(const std::string& protocol,
mate::Arguments* args) {
if (protocol.empty())
return false;