| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include <htiframe.h> | 5 #include <htiframe.h> |
| 6 #include <mshtml.h> | 6 #include <mshtml.h> |
| 7 | 7 |
| 8 #include "chrome_frame/protocol_sink_wrap.h" | 8 #include "chrome_frame/protocol_sink_wrap.h" |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/registry.h" | |
| 12 #include "base/scoped_bstr_win.h" | 11 #include "base/scoped_bstr_win.h" |
| 13 #include "base/singleton.h" | 12 #include "base/singleton.h" |
| 14 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 15 | 14 |
| 16 #include "chrome_frame/bho.h" | 15 #include "chrome_frame/bho.h" |
| 17 #include "chrome_frame/bind_context_info.h" | 16 #include "chrome_frame/bind_context_info.h" |
| 18 #include "chrome_frame/function_stub.h" | 17 #include "chrome_frame/function_stub.h" |
| 19 #include "chrome_frame/utils.h" | 18 #include "chrome_frame/utils.h" |
| 20 | 19 |
| 21 // BINDSTATUS_SERVER_MIMETYPEAVAILABLE == 54. Introduced in IE 8, so | 20 // BINDSTATUS_SERVER_MIMETYPEAVAILABLE == 54. Introduced in IE 8, so |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 848 // Explicit release, otherwise ~CComObjectStackEx will complain about | 847 // Explicit release, otherwise ~CComObjectStackEx will complain about |
| 849 // outstanding reference to us, because it runs before ~FakeProtocol | 848 // outstanding reference to us, because it runs before ~FakeProtocol |
| 850 prot.transaction_.Release(); | 849 prot.transaction_.Release(); |
| 851 } | 850 } |
| 852 } | 851 } |
| 853 | 852 |
| 854 void TransactionHooks::RevertHooks() { | 853 void TransactionHooks::RevertHooks() { |
| 855 vtable_patch::UnpatchInterfaceMethods(CTransaction_PatchInfo); | 854 vtable_patch::UnpatchInterfaceMethods(CTransaction_PatchInfo); |
| 856 vtable_patch::UnpatchInterfaceMethods(CTransaction2_PatchInfo); | 855 vtable_patch::UnpatchInterfaceMethods(CTransaction2_PatchInfo); |
| 857 } | 856 } |
| OLD | NEW |