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/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
12 #include "base/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
13 #include "base/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "base/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
15 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
16 #include "base/win/scoped_bstr.h" | 16 #include "base/win/scoped_bstr.h" |
17 #include "chrome_frame/bho.h" | 17 #include "chrome_frame/bho.h" |
18 #include "chrome_frame/bind_context_info.h" | 18 #include "chrome_frame/bind_context_info.h" |
19 #include "chrome_frame/exception_barrier.h" | 19 #include "chrome_frame/exception_barrier.h" |
20 #include "chrome_frame/function_stub.h" | 20 #include "chrome_frame/function_stub.h" |
21 #include "chrome_frame/policy_settings.h" | 21 #include "chrome_frame/policy_settings.h" |
22 #include "chrome_frame/utils.h" | 22 #include "chrome_frame/utils.h" |
23 | 23 |
24 // BINDSTATUS_SERVER_MIMETYPEAVAILABLE == 54. Introduced in IE 8, so | 24 // BINDSTATUS_SERVER_MIMETYPEAVAILABLE == 54. Introduced in IE 8, so |
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 // Explicit release, otherwise ~CComObjectStackEx will complain about | 997 // Explicit release, otherwise ~CComObjectStackEx will complain about |
998 // outstanding reference to us, because it runs before ~FakeProtocol | 998 // outstanding reference to us, because it runs before ~FakeProtocol |
999 prot.transaction_.Release(); | 999 prot.transaction_.Release(); |
1000 } | 1000 } |
1001 } | 1001 } |
1002 | 1002 |
1003 void TransactionHooks::RevertHooks() { | 1003 void TransactionHooks::RevertHooks() { |
1004 vtable_patch::UnpatchInterfaceMethods(CTransaction_PatchInfo); | 1004 vtable_patch::UnpatchInterfaceMethods(CTransaction_PatchInfo); |
1005 vtable_patch::UnpatchInterfaceMethods(CTransaction2_PatchInfo); | 1005 vtable_patch::UnpatchInterfaceMethods(CTransaction2_PatchInfo); |
1006 } | 1006 } |
OLD | NEW |