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

Unified Diff: chrome/browser/views/cookie_prompt_view.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/cookie_info_view.cc ('k') | chrome/browser/views/cookie_prompt_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/cookie_prompt_view.h
===================================================================
--- chrome/browser/views/cookie_prompt_view.h (revision 38820)
+++ chrome/browser/views/cookie_prompt_view.h (working copy)
@@ -43,7 +43,7 @@
Profile* profile,
const BrowsingDataLocalStorageHelper::LocalStorageInfo&
local_storage_info,
- const std::string& host,
+ const GURL& url,
const std::string& cookie_line,
CookiePromptModalDialogDelegate* delegate,
bool cookie_ui);
@@ -92,7 +92,7 @@
int GetExtendedViewHeight();
// Initializes text resources needed to display this view.
- void InitializeViewResources(const std::string& domain);
+ void InitializeViewResources();
views::RadioButton* remember_radio_;
views::RadioButton* ask_radio_;
@@ -121,6 +121,8 @@
gfx::NativeWindow root_window_;
+ GURL url_;
+
// Cookie / local storage host.
std::string host_;
« no previous file with comments | « chrome/browser/views/cookie_info_view.cc ('k') | chrome/browser/views/cookie_prompt_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698