| Index: ceee/ie/plugin/bho/cookie_accountant.h
|
| ===================================================================
|
| --- ceee/ie/plugin/bho/cookie_accountant.h (revision 67716)
|
| +++ ceee/ie/plugin/bho/cookie_accountant.h (working copy)
|
| @@ -13,6 +13,7 @@
|
| #include <string>
|
|
|
| #include "app/win/iat_patch_function.h"
|
| +#include "base/lock.h"
|
| #include "base/singleton.h"
|
| #include "base/time.h"
|
| #include "ceee/ie/plugin/bho/cookie_events_funnel.h"
|
| @@ -67,9 +68,13 @@
|
| }
|
|
|
| // Function patches that allow us to intercept scripted cookie changes.
|
| + // Protected by CookieAccountant::lock_.
|
| app::win::IATPatchFunction internet_set_cookie_ex_a_patch_;
|
| app::win::IATPatchFunction internet_set_cookie_ex_w_patch_;
|
|
|
| + // A lock that protects access to the function patches.
|
| + Lock lock_;
|
| +
|
| // Cached singleton instance. Useful for unit testing.
|
| static CookieAccountant* singleton_instance_;
|
|
|
|
|