Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: trunk/src/chrome/browser/ui/gtk/process_singleton_dialog.h

Issue 23708026: Revert 222159 "Improve the UI for handling profile lock contention." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/ui/gtk/process_singleton_dialog.h
===================================================================
--- trunk/src/chrome/browser/ui/gtk/process_singleton_dialog.h (revision 222182)
+++ trunk/src/chrome/browser/ui/gtk/process_singleton_dialog.h (working copy)
@@ -8,7 +8,6 @@
#include <string>
#include "base/basictypes.h"
-#include "base/files/file_path.h"
#include "ui/base/gtk/gtk_signal.h"
typedef struct _GtkWidget GtkWidget;
@@ -19,19 +18,14 @@
class ProcessSingletonDialog {
public:
// Shows the dialog, and returns once the dialog has been closed.
- static bool ShowAndRun(const std::string& message,
- const std::string& relaunch_text);
+ static void ShowAndRun(const std::string& message);
- int GetResponseId() const { return response_id_; }
-
private:
- ProcessSingletonDialog(const std::string& message,
- const std::string& relaunch_text);
+ explicit ProcessSingletonDialog(const std::string& message);
CHROMEGTK_CALLBACK_1(ProcessSingletonDialog, void, OnResponse, int);
GtkWidget* dialog_;
- int response_id_;
DISALLOW_COPY_AND_ASSIGN(ProcessSingletonDialog);
};
« no previous file with comments | « trunk/src/chrome/browser/process_singleton_linux.cc ('k') | trunk/src/chrome/browser/ui/gtk/process_singleton_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698