Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 75b6a55bafd1af54271cdd0e8ec701a27db5ce0c..6459b8b059297d0321ded10a92f8eecc05c0e199 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -685,6 +685,20 @@ void Browser::OpenOptionsWindow(Profile* profile) { |
browser->ShowOptionsTab(chrome::kDefaultOptionsSubPage); |
browser->window()->Show(); |
} |
+ |
+// static |
+void Browser::OpenClearBrowingDataDialogWindow(Profile* profile) { |
+ Browser* browser = Browser::Create(profile); |
+ browser->OpenClearBrowsingDataDialog(); |
+ browser->window()->Show(); |
+} |
+ |
+// static |
+void Browser::OpenImportSettingsDialogWindow(Profile* profile) { |
+ Browser* browser = Browser::Create(profile); |
+ browser->OpenImportSettingsDialog(); |
+ browser->window()->Show(); |
+} |
#endif |
// static |
@@ -1843,7 +1857,7 @@ void Browser::OpenImportSettingsDialog() { |
void Browser::OpenSyncMyBookmarksDialog() { |
sync_ui_util::OpenSyncMyBookmarksDialog( |
- profile_, ProfileSyncService::START_FROM_WRENCH); |
+ profile_, this, ProfileSyncService::START_FROM_WRENCH); |
} |
void Browser::OpenAboutChromeDialog() { |