diff options
Diffstat (limited to 'chrome/browser/message_box_handler.cc')
-rw-r--r-- | chrome/browser/message_box_handler.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/message_box_handler.cc b/chrome/browser/message_box_handler.cc index a92bbf7..3c249d2 100644 --- a/chrome/browser/message_box_handler.cc +++ b/chrome/browser/message_box_handler.cc @@ -63,12 +63,13 @@ void RunCookiePrompt(TabContents* tab_contents, const GURL& origin, const std::string& cookie_line, CookiePromptModalDialogDelegate* delegate) { -#if defined(OS_WIN) || defined(OS_MACOSX) +#if defined(OS_WIN) Singleton<AppModalDialogQueue>()->AddDialog( new CookiePromptModalDialog(tab_contents, host_content_settings_map, origin, cookie_line, delegate)); #else // Linux: http://crbug.com/35178 + // Mac: http://crbug.com/34894 NOTIMPLEMENTED(); delegate->BlockSiteData(); #endif @@ -81,12 +82,13 @@ void RunLocalStoragePrompt( const string16& key, const string16& value, CookiePromptModalDialogDelegate* delegate) { -#if defined(OS_WIN) || defined(OS_MACOSX) +#if defined(OS_WIN) Singleton<AppModalDialogQueue>()->AddDialog( new CookiePromptModalDialog(tab_contents, host_content_settings_map, origin, key, value, delegate)); #else // Linux: http://crbug.com/35178 + // Mac: http://crbug.com/34894 NOTIMPLEMENTED(); delegate->BlockSiteData(); #endif @@ -98,12 +100,13 @@ void RunDatabasePrompt( const GURL& origin, const string16& database_name, CookiePromptModalDialogDelegate* delegate) { -#if defined(OS_WIN) || defined(OS_MACOSX) +#if defined(OS_WIN) Singleton<AppModalDialogQueue>()->AddDialog( new CookiePromptModalDialog(tab_contents, host_content_settings_map, origin, database_name, delegate)); #else // Linux: http://crbug.com/35178 + // Mac: http://crbug.com/34894 NOTIMPLEMENTED(); delegate->BlockSiteData(); #endif |