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

Side by Side Diff: ceee/ie/plugin/bho/cookie_events_funnel.h

Issue 4989002: Firing event to broker without worker thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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
« no previous file with comments | « ceee/ie/ie.gyp ('k') | ceee/ie/plugin/bho/events_funnel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Funnel of Chrome Extension Cookie Events. 5 // Funnel of Chrome Extension Cookie Events.
6 6
7 #ifndef CEEE_IE_PLUGIN_BHO_COOKIE_EVENTS_FUNNEL_H_ 7 #ifndef CEEE_IE_PLUGIN_BHO_COOKIE_EVENTS_FUNNEL_H_
8 #define CEEE_IE_PLUGIN_BHO_COOKIE_EVENTS_FUNNEL_H_ 8 #define CEEE_IE_PLUGIN_BHO_COOKIE_EVENTS_FUNNEL_H_
9 9
10 #include "ceee/ie/broker/cookie_api_module.h" 10 #include "ceee/ie/broker/cookie_api_module.h"
11 #include "ceee/ie/plugin/bho/events_funnel.h" 11 #include "ceee/ie/plugin/bho/events_funnel.h"
12 12
13 // Implements a set of methods to send cookie related events to the Broker. 13 // Implements a set of methods to send cookie related events to the Broker.
14 class CookieEventsFunnel : public EventsFunnel { 14 class CookieEventsFunnel : public EventsFunnel {
15 public: 15 public:
16 CookieEventsFunnel() : EventsFunnel(false) {} 16 CookieEventsFunnel() {}
17 17
18 // Sends the cookies.onChanged event to the Broker. 18 // Sends the cookies.onChanged event to the Broker.
19 // @param removed True if the cookie was removed vs. set. 19 // @param removed True if the cookie was removed vs. set.
20 // @param cookie Information about the cookie that was set or removed. 20 // @param cookie Information about the cookie that was set or removed.
21 virtual HRESULT OnChanged(bool removed, 21 virtual HRESULT OnChanged(bool removed,
22 const cookie_api::CookieInfo& cookie); 22 const cookie_api::CookieInfo& cookie);
23 23
24 private: 24 private:
25 DISALLOW_COPY_AND_ASSIGN(CookieEventsFunnel); 25 DISALLOW_COPY_AND_ASSIGN(CookieEventsFunnel);
26 }; 26 };
27 27
28 #endif // CEEE_IE_PLUGIN_BHO_COOKIE_EVENTS_FUNNEL_H_ 28 #endif // CEEE_IE_PLUGIN_BHO_COOKIE_EVENTS_FUNNEL_H_
OLDNEW
« no previous file with comments | « ceee/ie/ie.gyp ('k') | ceee/ie/plugin/bho/events_funnel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698