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

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

Issue 560030: Refactored out JS specific part of modal dialog stack into its own class, exp... (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
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_COOKIE_PROMPT_MODAL_DIALOG_DELEGATE_H_
6 #define CHROME_BROWSER_COOKIE_PROMPT_MODAL_DIALOG_DELEGATE_H_
7
8 // Delegate for handling modal dialog results from CookiePromptModalDialog.
9 class CookiePromptModalDialogDelegate {
10 public:
11 // Allow site data to be set. If |remember| is true, record this decision
12 // for this host.
13 virtual void AllowSiteData(bool remember, bool session_expire) = 0;
14
15 // Block site data from being stored. If |remember| is true, record this
16 // decision for this host.
17 virtual void BlockSiteData(bool remember) = 0;
18
19 protected:
20 virtual ~CookiePromptModalDialogDelegate() {}
21 };
22
23 #endif // CHROME_BROWSER_COOKIE_PROMPT_MODAL_DIALOG_DELEGATE_H_
24
OLDNEW
« no previous file with comments | « chrome/browser/cookie_modal_dialog_views.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698