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

Unified Diff: chrome/renderer/cookie_message_filter.h

Issue 6703003: Move a bunch of html5 renderer code to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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/renderer/audio_message_filter_unittest.cc ('k') | chrome/renderer/cookie_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/cookie_message_filter.h
===================================================================
--- chrome/renderer/cookie_message_filter.h (revision 78436)
+++ chrome/renderer/cookie_message_filter.h (working copy)
@@ -1,30 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_RENDERER_COOKIE_MESSAGE_FILTER_H_
-#define CHROME_RENDERER_COOKIE_MESSAGE_FILTER_H_
-#pragma once
-
-#include "base/synchronization/waitable_event.h"
-#include "ipc/ipc_channel_proxy.h"
-
-// This class maintains a WaitableEvent that is signaled when an IPC to query
-// cookies from the browser should pump events. Pumping events may be
-// necessary to avoid deadlocks if the browser blocks the cookie query on a
-// user prompt.
-class CookieMessageFilter : public IPC::ChannelProxy::MessageFilter {
- public:
- CookieMessageFilter();
-
- base::WaitableEvent* pump_messages_event() { return &event_; }
- void ResetPumpMessagesEvent() { event_.Reset(); }
-
- private:
- // IPC::ChannelProxy::MessageFilter implementation:
- virtual bool OnMessageReceived(const IPC::Message& message);
-
- base::WaitableEvent event_;
-};
-
-#endif // CHROME_RENDERER_COOKIE_MESSAGE_FILTER_H_
« no previous file with comments | « chrome/renderer/audio_message_filter_unittest.cc ('k') | chrome/renderer/cookie_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698