I am not good at C++ at all

This commit is contained in:
Paul Betts 2015-10-19 18:23:13 -07:00
parent 4a4b829cfc
commit 63417bc975
3 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ class FilePath;
namespace mate {
class Arguments;
}
namespace atom {
namespace api {

View file

@ -173,7 +173,7 @@ ProcessSingleton::NotifyResult Browser::GetSingleInstanceResult() {
return process_notify_result_;
}
void Browser::SetSingleInstanceCallback(const ProcessSingleton::NotificationCallback& callback) {
void Browser::SetSingleInstanceCallback(ProcessSingleton::NotificationCallback callback) {
process_notify_callback_ = callback;
process_notify_callback_set_ = true;
}

View file

@ -67,7 +67,7 @@ class Browser : public WindowListObserver {
void ClearRecentDocuments();
ProcessSingleton::NotifyResult GetSingleInstanceResult();
void SetSingleInstanceCallback(const ProcessSingleton::NotificationCallback& callback);
void SetSingleInstanceCallback(ProcessSingleton::NotificationCallback callback);
#if defined(OS_MACOSX)
// Bounce the dock icon.
@ -176,7 +176,7 @@ class Browser : public WindowListObserver {
scoped_ptr<AtomProcessSingleton> process_singleton_;
ProcessSingleton::NotifyResult process_notify_result_;
const ProcessSingleton::NotificationCallback process_notify_callback_;
ProcessSingleton::NotificationCallback process_notify_callback_;
bool process_notify_callback_set_;
#if defined(OS_WIN)