breakpad: Remove semicolons, mac edition.
Bug: chromium:926235 Change-Id: I473a7727c1831717b92a582c50d98256ea41d854 Reviewed-on: https://chromium-review.googlesource.com/c/1482716 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
37a60998ca
commit
30153b4eb5
6 changed files with 8 additions and 8 deletions
|
@ -117,7 +117,7 @@ class ProtectedMemoryLocker {
|
||||||
// Then unlock the mutex
|
// Then unlock the mutex
|
||||||
__attribute__((unused)) int rv = pthread_mutex_unlock(mutex_);
|
__attribute__((unused)) int rv = pthread_mutex_unlock(mutex_);
|
||||||
assert(rv == 0);
|
assert(rv == 0);
|
||||||
};
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ProtectedMemoryLocker();
|
ProtectedMemoryLocker();
|
||||||
|
|
|
@ -127,7 +127,7 @@ class OnDemandServer {
|
||||||
// This is the port we need to send a mach message to after calling
|
// This is the port we need to send a mach message to after calling
|
||||||
// LaunchOnDemand(). Sending a message causing an immediate launch
|
// LaunchOnDemand(). Sending a message causing an immediate launch
|
||||||
// of the server
|
// of the server
|
||||||
mach_port_t GetServicePort() { return service_port_; };
|
mach_port_t GetServicePort() { return service_port_; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Disallow copy constructor
|
// Disallow copy constructor
|
||||||
|
|
|
@ -71,7 +71,7 @@ OnDemandServer *OnDemandServer::Create(const char *server_command,
|
||||||
|
|
||||||
delete server;
|
delete server;
|
||||||
return NULL;
|
return NULL;
|
||||||
};
|
}
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
kern_return_t OnDemandServer::Initialize(const char *server_command,
|
kern_return_t OnDemandServer::Initialize(const char *server_command,
|
||||||
|
|
|
@ -44,10 +44,10 @@ class ConfigFile {
|
||||||
config_file_ = -1;
|
config_file_ = -1;
|
||||||
config_file_path_[0] = 0;
|
config_file_path_[0] = 0;
|
||||||
has_created_file_ = false;
|
has_created_file_ = false;
|
||||||
};
|
}
|
||||||
|
|
||||||
~ConfigFile() {
|
~ConfigFile() {
|
||||||
};
|
}
|
||||||
|
|
||||||
void WriteFile(const char* directory,
|
void WriteFile(const char* directory,
|
||||||
const SimpleStringDictionary *configurationParameters,
|
const SimpleStringDictionary *configurationParameters,
|
||||||
|
|
|
@ -98,7 +98,7 @@ class MinidumpLocation {
|
||||||
(MinidumpGenerator::UniqueNameInDirectory(dump_path, &next_minidump_id));
|
(MinidumpGenerator::UniqueNameInDirectory(dump_path, &next_minidump_id));
|
||||||
|
|
||||||
strlcpy(minidump_id_, next_minidump_id.c_str(), sizeof(minidump_id_));
|
strlcpy(minidump_id_, next_minidump_id.c_str(), sizeof(minidump_id_));
|
||||||
};
|
}
|
||||||
|
|
||||||
const char *GetPath() { return minidump_dir_path_; }
|
const char *GetPath() { return minidump_dir_path_; }
|
||||||
const char *GetID() { return minidump_id_; }
|
const char *GetID() { return minidump_id_; }
|
||||||
|
@ -111,7 +111,7 @@ class MinidumpLocation {
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
class Inspector {
|
class Inspector {
|
||||||
public:
|
public:
|
||||||
Inspector() {};
|
Inspector() {}
|
||||||
|
|
||||||
// given a bootstrap service name, receives mach messages
|
// given a bootstrap service name, receives mach messages
|
||||||
// from a crashed process, then inspects it, creates a minidump file
|
// from a crashed process, then inspects it, creates a minidump file
|
||||||
|
|
|
@ -236,7 +236,7 @@ class MachMessage {
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
class MachReceiveMessage : public MachMessage {
|
class MachReceiveMessage : public MachMessage {
|
||||||
public:
|
public:
|
||||||
MachReceiveMessage() : MachMessage() {};
|
MachReceiveMessage() : MachMessage() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
Loading…
Reference in a new issue