| Index: chrome/browser/cookie_modal_dialog.cc
|
| ===================================================================
|
| --- chrome/browser/cookie_modal_dialog.cc (revision 38896)
|
| +++ chrome/browser/cookie_modal_dialog.cc (working copy)
|
| @@ -14,20 +14,24 @@
|
| const std::string& cookie_line,
|
| CookiePromptModalDialogDelegate* delegate)
|
| : AppModalDialog(tab_contents, std::wstring()),
|
| + dialog_type_(DIALOG_TYPE_COOKIE),
|
| host_(host),
|
| cookie_line_(cookie_line),
|
| - cookie_ui_(true),
|
| delegate_(delegate) {
|
| }
|
|
|
|
|
| CookiePromptModalDialog::CookiePromptModalDialog(
|
| TabContents* tab_contents,
|
| - const BrowsingDataLocalStorageHelper::LocalStorageInfo& storage_info,
|
| + const std::string& host,
|
| + const string16& key,
|
| + const string16& value,
|
| CookiePromptModalDialogDelegate* delegate)
|
| : AppModalDialog(tab_contents, std::wstring()),
|
| - storage_info_(storage_info),
|
| - cookie_ui_(false),
|
| + dialog_type_(DIALOG_TYPE_LOCAL_STORAGE),
|
| + host_(host),
|
| + local_storage_key_(key),
|
| + local_storage_value_(value),
|
| delegate_(delegate) {
|
| }
|
|
|
|
|