| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ |
| 6 #define CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ | 6 #define CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 CookiePromptModalDialogDelegate* delegate); | 62 CookiePromptModalDialogDelegate* delegate); |
| 63 | 63 |
| 64 // This will display a modal dialog box with the database name on every open | 64 // This will display a modal dialog box with the database name on every open |
| 65 // and ask the user to accept or reject it. The caller should pass |delegate| | 65 // and ask the user to accept or reject it. The caller should pass |delegate| |
| 66 // that will handle the reply from the dialog. | 66 // that will handle the reply from the dialog. |
| 67 void RunDatabasePrompt( | 67 void RunDatabasePrompt( |
| 68 TabContents* tab_contents, | 68 TabContents* tab_contents, |
| 69 HostContentSettingsMap* host_content_settings_map, | 69 HostContentSettingsMap* host_content_settings_map, |
| 70 const GURL& origin, | 70 const GURL& origin, |
| 71 const string16& database_name, | 71 const string16& database_name, |
| 72 const string16& display_name, |
| 73 unsigned long estimated_size, |
| 72 CookiePromptModalDialogDelegate* delegate); | 74 CookiePromptModalDialogDelegate* delegate); |
| 73 | 75 |
| 74 // This will display a modal dialog box with the |manifest_url| and ask the | 76 // This will display a modal dialog box with the |manifest_url| and ask the |
| 75 // user to accept or reject it. The caller should pass |delegate| that will | 77 // user to accept or reject it. The caller should pass |delegate| that will |
| 76 // handle the reply from the dialog. | 78 // handle the reply from the dialog. |
| 77 void RunAppCachePrompt( | 79 void RunAppCachePrompt( |
| 78 TabContents* tab_contents, | 80 TabContents* tab_contents, |
| 79 HostContentSettingsMap* host_content_settings_map, | 81 HostContentSettingsMap* host_content_settings_map, |
| 80 const GURL& manifest_url, | 82 const GURL& manifest_url, |
| 81 CookiePromptModalDialogDelegate* delegate); | 83 CookiePromptModalDialogDelegate* delegate); |
| 82 | 84 |
| 83 #endif // CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ | 85 #endif // CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ |
| 84 | 86 |
| OLD | NEW |