OLD | NEW |
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 // Web request notifier implementation. | 5 // Web request notifier implementation. |
6 #ifndef CEEE_IE_PLUGIN_BHO_WEBREQUEST_NOTIFIER_H_ | 6 #ifndef CEEE_IE_PLUGIN_BHO_WEBREQUEST_NOTIFIER_H_ |
7 #define CEEE_IE_PLUGIN_BHO_WEBREQUEST_NOTIFIER_H_ | 7 #define CEEE_IE_PLUGIN_BHO_WEBREQUEST_NOTIFIER_H_ |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <wininet.h> | 10 #include <wininet.h> |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 app::win::IATPatchFunction internet_set_status_callback_a_patch_; | 393 app::win::IATPatchFunction internet_set_status_callback_a_patch_; |
394 app::win::IATPatchFunction internet_set_status_callback_w_patch_; | 394 app::win::IATPatchFunction internet_set_status_callback_w_patch_; |
395 app::win::IATPatchFunction internet_connect_a_patch_; | 395 app::win::IATPatchFunction internet_connect_a_patch_; |
396 app::win::IATPatchFunction internet_connect_w_patch_; | 396 app::win::IATPatchFunction internet_connect_w_patch_; |
397 app::win::IATPatchFunction http_open_request_a_patch_; | 397 app::win::IATPatchFunction http_open_request_a_patch_; |
398 app::win::IATPatchFunction http_open_request_w_patch_; | 398 app::win::IATPatchFunction http_open_request_w_patch_; |
399 app::win::IATPatchFunction http_send_request_a_patch_; | 399 app::win::IATPatchFunction http_send_request_a_patch_; |
400 app::win::IATPatchFunction http_send_request_w_patch_; | 400 app::win::IATPatchFunction http_send_request_w_patch_; |
401 app::win::IATPatchFunction internet_read_file_patch_; | 401 app::win::IATPatchFunction internet_read_file_patch_; |
402 | 402 |
403 // Broker RPC client. | |
404 BrokerRpcClient broker_rpc_client_; | |
405 | |
406 // The funnel for sending webRequest events to the broker. | 403 // The funnel for sending webRequest events to the broker. |
407 WebRequestEventsFunnel webrequest_events_funnel_; | 404 WebRequestEventsFunnel webrequest_events_funnel_; |
408 | 405 |
409 // Used to protect the access to all the following data members. | 406 // Used to protect the access to all the following data members. |
410 CComAutoCriticalSection critical_section_; | 407 CComAutoCriticalSection critical_section_; |
411 | 408 |
412 // Used to intercept InternetStatusCallback function, which is defined by a | 409 // Used to intercept InternetStatusCallback function, which is defined by a |
413 // WinINet client to observe status changes. | 410 // WinINet client to observe status changes. |
414 FunctionStub* internet_status_callback_stub_; | 411 FunctionStub* internet_status_callback_stub_; |
415 | 412 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 : public WebRequestNotifier, | 444 : public WebRequestNotifier, |
448 public Singleton<ProductionWebRequestNotifier> { | 445 public Singleton<ProductionWebRequestNotifier> { |
449 private: | 446 private: |
450 ProductionWebRequestNotifier() {} | 447 ProductionWebRequestNotifier() {} |
451 | 448 |
452 friend struct DefaultSingletonTraits<ProductionWebRequestNotifier>; | 449 friend struct DefaultSingletonTraits<ProductionWebRequestNotifier>; |
453 DISALLOW_COPY_AND_ASSIGN(ProductionWebRequestNotifier); | 450 DISALLOW_COPY_AND_ASSIGN(ProductionWebRequestNotifier); |
454 }; | 451 }; |
455 | 452 |
456 #endif // CEEE_IE_PLUGIN_BHO_WEBREQUEST_NOTIFIER_H_ | 453 #endif // CEEE_IE_PLUGIN_BHO_WEBREQUEST_NOTIFIER_H_ |
OLD | NEW |