Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: chrome/browser/message_box_handler.h

Issue 597031: Avoid showing the user a garbage path attribute when the cookie doesn't have ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/cookie_modal_dialog_views.cc ('k') | chrome/browser/message_box_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/browser/browsing_data_local_storage_helper.h" 10 #include "chrome/browser/browsing_data_local_storage_helper.h"
(...skipping 27 matching lines...) Expand all
38 void RunBeforeUnloadDialog(TabContents* tab_contents, 38 void RunBeforeUnloadDialog(TabContents* tab_contents,
39 const std::wstring& message_text, 39 const std::wstring& message_text,
40 IPC::Message* reply_msg); 40 IPC::Message* reply_msg);
41 41
42 // TODO(zelidrag): bug 32719, implement these modal dialogs on Linux and Mac. 42 // TODO(zelidrag): bug 32719, implement these modal dialogs on Linux and Mac.
43 #if defined(OS_WIN) 43 #if defined(OS_WIN)
44 // This will display a modal dialog box with cookie information asking 44 // This will display a modal dialog box with cookie information asking
45 // user to accept or reject the cookie. The caller should pass |delegate| 45 // user to accept or reject the cookie. The caller should pass |delegate|
46 // that will handle the reply from the dialog. 46 // that will handle the reply from the dialog.
47 void RunCookiePrompt(TabContents* tab_contents, 47 void RunCookiePrompt(TabContents* tab_contents,
48 const std::string& host, 48 const GURL& url,
49 const std::string& cookie_line, 49 const std::string& cookie_line,
50 CookiePromptModalDialogDelegate* delegate); 50 CookiePromptModalDialogDelegate* delegate);
51 51
52 // This will display a modal dialog box with local storage information asking 52 // This will display a modal dialog box with local storage information asking
53 // user to accept or reject it. The caller should pass |delegate| 53 // user to accept or reject it. The caller should pass |delegate|
54 // that will handle the reply from the dialog. 54 // that will handle the reply from the dialog.
55 void RunLocalStoragePrompt( 55 void RunLocalStoragePrompt(
56 TabContents* tab_contents, 56 TabContents* tab_contents,
57 const BrowsingDataLocalStorageHelper::LocalStorageInfo& local_storage_info, 57 const BrowsingDataLocalStorageHelper::LocalStorageInfo& local_storage_info,
58 CookiePromptModalDialogDelegate* delegate); 58 CookiePromptModalDialogDelegate* delegate);
59 #endif 59 #endif
60 60
61 #endif // CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ 61 #endif // CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_
62 62
OLDNEW
« no previous file with comments | « chrome/browser/cookie_modal_dialog_views.cc ('k') | chrome/browser/message_box_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698