Index: chrome/browser/ui/gtk/first_run_dialog.h |
diff --git a/chrome/browser/ui/gtk/first_run_dialog.h b/chrome/browser/ui/gtk/first_run_dialog.h |
index b59c12cce21e77f49032c273736a926e862d4402..ededb19fd1d692e8ea757fa74fabe0e8549c71ff 100644 |
--- a/chrome/browser/ui/gtk/first_run_dialog.h |
+++ b/chrome/browser/ui/gtk/first_run_dialog.h |
@@ -16,10 +16,10 @@ class FirstRunDialog { |
public: |
// Displays the first run UI for reporting opt-in, import data etc. |
// Returns true if the dialog was shown. |
- static bool Show(); |
+ static bool Show(Profile* profile); |
private: |
- FirstRunDialog(); |
+ explicit FirstRunDialog(Profile* profile); |
virtual ~FirstRunDialog(); |
CHROMEGTK_CALLBACK_1(FirstRunDialog, void, OnResponseDialog, int); |
@@ -32,6 +32,8 @@ class FirstRunDialog { |
// first run tasks are done. |
void FirstRunDone(); |
+ Profile* profile_; |
+ |
// Dialog that holds the bug reporting and default browser checkboxes. |
GtkWidget* dialog_; |