summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/chrome_cookie_policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/chrome_cookie_policy.h')
-rw-r--r--chrome/browser/net/chrome_cookie_policy.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/browser/net/chrome_cookie_policy.h b/chrome/browser/net/chrome_cookie_policy.h
index 40138a2..ae60764 100644
--- a/chrome/browser/net/chrome_cookie_policy.h
+++ b/chrome/browser/net/chrome_cookie_policy.h
@@ -66,19 +66,7 @@ class ChromeCookiePolicy
typedef std::vector<Completion> Completions;
typedef std::map<std::string, Completions> HostCompletionsMap;
- struct PromptData {
- GURL url;
- std::string cookie_line;
-
- PromptData(const GURL& url, const std::string& cookie_line)
- : url(url),
- cookie_line(cookie_line) {
- }
- };
- typedef std::queue<PromptData> PromptQueue;
-
int CheckPolicy(const GURL& url) const;
- void ShowNextPrompt();
void PromptForSetCookie(const GURL& url, const std::string& cookie_line);
void DidPromptForSetCookie(const std::string& host, int result,
bool remember);
@@ -87,12 +75,6 @@ class ChromeCookiePolicy
// This map is only accessed on the IO thread.
HostCompletionsMap host_completions_map_;
- // A queue of pending prompts. We queue these up here so that before showing
- // the next prompt we can reconsult the HostContentSettingsMap in case
- // settings have changed since the prompt request was placed in the queue.
- // This queue is only accessed on the UI thread.
- PromptQueue prompt_queue_;
-
scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
};