| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/singleton.h" | 11 #include "base/singleton.h" |
| 12 #include "base/string_number_conversions.h" |
| 12 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 13 #include "base/stringprintf.h" | 14 #include "base/stringprintf.h" |
| 14 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
| 15 #include "base/win/scoped_bstr.h" | 16 #include "base/win/scoped_bstr.h" |
| 16 #include "chrome_frame/bho.h" | 17 #include "chrome_frame/bho.h" |
| 17 #include "chrome_frame/bind_context_info.h" | 18 #include "chrome_frame/bind_context_info.h" |
| 18 #include "chrome_frame/exception_barrier.h" | 19 #include "chrome_frame/exception_barrier.h" |
| 19 #include "chrome_frame/function_stub.h" | 20 #include "chrome_frame/function_stub.h" |
| 20 #include "chrome_frame/policy_settings.h" | 21 #include "chrome_frame/policy_settings.h" |
| 21 #include "chrome_frame/utils.h" | 22 #include "chrome_frame/utils.h" |
| (...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 // Explicit release, otherwise ~CComObjectStackEx will complain about | 940 // Explicit release, otherwise ~CComObjectStackEx will complain about |
| 940 // outstanding reference to us, because it runs before ~FakeProtocol | 941 // outstanding reference to us, because it runs before ~FakeProtocol |
| 941 prot.transaction_.Release(); | 942 prot.transaction_.Release(); |
| 942 } | 943 } |
| 943 } | 944 } |
| 944 | 945 |
| 945 void TransactionHooks::RevertHooks() { | 946 void TransactionHooks::RevertHooks() { |
| 946 vtable_patch::UnpatchInterfaceMethods(CTransaction_PatchInfo); | 947 vtable_patch::UnpatchInterfaceMethods(CTransaction_PatchInfo); |
| 947 vtable_patch::UnpatchInterfaceMethods(CTransaction2_PatchInfo); | 948 vtable_patch::UnpatchInterfaceMethods(CTransaction2_PatchInfo); |
| 948 } | 949 } |
| OLD | NEW |