diff options
author | initial.commit@chromium.org <initial.commit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 02:14:31 +0000 |
---|---|---|
committer | initial.commit@chromium.org <initial.commit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 02:14:31 +0000 |
commit | 5a7bdf208c28c210b39cff63d1cf91302b02821b (patch) | |
tree | 5ff484561562f78b29d2670168a9e3b40b48dcab /ceee/ie/plugin/bho/cookie_events_funnel.h | |
parent | 26a54a5e0f4603c8fda2fe51789d331125993c9a (diff) | |
download | chromium_src-5a7bdf208c28c210b39cff63d1cf91302b02821b.zip chromium_src-5a7bdf208c28c210b39cff63d1cf91302b02821b.tar.gz chromium_src-5a7bdf208c28c210b39cff63d1cf91302b02821b.tar.bz2 |
Checking in the initial version of CEEE (Chrome Extensions Execution
Environment), an optional feature of Chrome Frame that acts as an
adapter layer for a subset of the Chrome Extension APIs. This enables
extensions that stick to the supported subset of APIs to work in the
context of Chrome Frame with minimal or sometimes no changes.
See http://www.chromium.org/developers/design-documents/ceee for an
overview of the design of CEEE.
TEST=unit tests (run ceee/smoke_tests.bat as an administrator on Windows)
BUG=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ceee/ie/plugin/bho/cookie_events_funnel.h')
-rw-r--r-- | ceee/ie/plugin/bho/cookie_events_funnel.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ceee/ie/plugin/bho/cookie_events_funnel.h b/ceee/ie/plugin/bho/cookie_events_funnel.h new file mode 100644 index 0000000..06ada896 --- /dev/null +++ b/ceee/ie/plugin/bho/cookie_events_funnel.h @@ -0,0 +1,28 @@ +// 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. +// +// Funnel of Chrome Extension Cookie Events. + +#ifndef CEEE_IE_PLUGIN_BHO_COOKIE_EVENTS_FUNNEL_H_ +#define CEEE_IE_PLUGIN_BHO_COOKIE_EVENTS_FUNNEL_H_ + +#include "ceee/ie/broker/cookie_api_module.h" +#include "ceee/ie/plugin/bho/events_funnel.h" + +// Implements a set of methods to send cookie related events to the Broker. +class CookieEventsFunnel : public EventsFunnel { + public: + CookieEventsFunnel() : EventsFunnel(false) {} + + // Sends the cookies.onChanged event to the Broker. + // @param removed True if the cookie was removed vs. set. + // @param cookie Information about the cookie that was set or removed. + virtual HRESULT OnChanged(bool removed, + const cookie_api::CookieInfo& cookie); + + private: + DISALLOW_COPY_AND_ASSIGN(CookieEventsFunnel); +}; + +#endif // CEEE_IE_PLUGIN_BHO_COOKIE_EVENTS_FUNNEL_H_ |