| Index: chrome/browser/ui/gtk/process_singleton_dialog.h
|
| diff --git a/chrome/browser/ui/gtk/process_singleton_dialog.h b/chrome/browser/ui/gtk/process_singleton_dialog.h
|
| index e62ec6778710acdf7f9505c27c45a292326ac7d4..3bfb4b495934f9c42f239fad45b40cae5215d66a 100644
|
| --- a/chrome/browser/ui/gtk/process_singleton_dialog.h
|
| +++ b/chrome/browser/ui/gtk/process_singleton_dialog.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/files/file_path.h"
|
| #include "ui/base/gtk/gtk_signal.h"
|
|
|
| typedef struct _GtkWidget GtkWidget;
|
| @@ -18,14 +19,19 @@ typedef struct _GtkWidget GtkWidget;
|
| class ProcessSingletonDialog {
|
| public:
|
| // Shows the dialog, and returns once the dialog has been closed.
|
| - static void ShowAndRun(const std::string& message);
|
| + static bool ShowAndRun(const std::string& message,
|
| + const std::string& relaunch_text);
|
| +
|
| + int GetResponseId() const { return response_id_; }
|
|
|
| private:
|
| - explicit ProcessSingletonDialog(const std::string& message);
|
| + ProcessSingletonDialog(const std::string& message,
|
| + const std::string& relaunch_text);
|
|
|
| CHROMEGTK_CALLBACK_1(ProcessSingletonDialog, void, OnResponse, int);
|
|
|
| GtkWidget* dialog_;
|
| + int response_id_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ProcessSingletonDialog);
|
| };
|
|
|