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

Side by Side Diff: chrome/browser/cookie_modal_dialog_views.cc

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.cc ('k') | chrome/browser/message_box_handler.h » ('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 #include "chrome/browser/cookie_modal_dialog.h" 5 #include "chrome/browser/cookie_modal_dialog.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/views/cookie_prompt_view.h" 8 #include "chrome/browser/views/cookie_prompt_view.h"
9 #include "chrome/browser/tab_contents/tab_contents.h" 9 #include "chrome/browser/tab_contents/tab_contents.h"
10 #include "views/window/window.h" 10 #include "views/window/window.h"
(...skipping 25 matching lines...) Expand all
36 #endif 36 #endif
37 } 37 }
38 38
39 39
40 NativeDialog CookiePromptModalDialog::CreateNativeDialog() { 40 NativeDialog CookiePromptModalDialog::CreateNativeDialog() {
41 #if defined(OS_WIN) 41 #if defined(OS_WIN)
42 return new CookiePromptView(this, 42 return new CookiePromptView(this,
43 tab_contents_->GetMessageBoxRootWindow(), 43 tab_contents_->GetMessageBoxRootWindow(),
44 tab_contents_->profile(), 44 tab_contents_->profile(),
45 storage_info_, 45 storage_info_,
46 host_, cookie_line_, delegate_, 46 url_, cookie_line_, delegate_,
47 cookie_ui_); 47 cookie_ui_);
48 #else 48 #else
49 return NULL; 49 return NULL;
50 #endif 50 #endif
51 } 51 }
OLDNEW
« no previous file with comments | « chrome/browser/cookie_modal_dialog.cc ('k') | chrome/browser/message_box_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698