OLD | NEW |
(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 |
OLD | NEW |