OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome_frame/chrome_frame_activex.h" | 5 #include "chrome_frame/chrome_frame_activex.h" |
6 | 6 |
7 #include <wininet.h> | 7 #include <wininet.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/debug/trace_event.h" | 14 #include "base/debug/trace_event.h" |
15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/memory/singleton.h" | 17 #include "base/memory/singleton.h" |
18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
19 #include "base/process_util.h" | 19 #include "base/process_util.h" |
20 #include "base/string_split.h" | |
21 #include "base/string_util.h" | 20 #include "base/string_util.h" |
22 #include "base/stringprintf.h" | 21 #include "base/stringprintf.h" |
| 22 #include "base/strings/string_split.h" |
23 #include "base/utf_string_conversions.h" | 23 #include "base/utf_string_conversions.h" |
24 #include "base/win/scoped_bstr.h" | 24 #include "base/win/scoped_bstr.h" |
25 #include "base/win/scoped_variant.h" | 25 #include "base/win/scoped_variant.h" |
26 #include "chrome/common/automation_messages.h" | 26 #include "chrome/common/automation_messages.h" |
27 #include "chrome/common/chrome_constants.h" | 27 #include "chrome/common/chrome_constants.h" |
28 #include "chrome/common/chrome_switches.h" | 28 #include "chrome/common/chrome_switches.h" |
29 #include "chrome/test/automation/tab_proxy.h" | 29 #include "chrome/test/automation/tab_proxy.h" |
30 #include "chrome_frame/utils.h" | 30 #include "chrome_frame/utils.h" |
31 #include "googleurl/src/gurl.h" | 31 #include "googleurl/src/gurl.h" |
32 | 32 |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 if (FAILED(hr)) { | 695 if (FAILED(hr)) { |
696 NOTREACHED() << "ChromeFrame BHO SetSite failed. Error:" | 696 NOTREACHED() << "ChromeFrame BHO SetSite failed. Error:" |
697 << base::StringPrintf(" 0x%08X", hr); | 697 << base::StringPrintf(" 0x%08X", hr); |
698 return hr; | 698 return hr; |
699 } | 699 } |
700 | 700 |
701 web_browser2->PutProperty(base::win::ScopedBstr(bho_class_id_as_string), | 701 web_browser2->PutProperty(base::win::ScopedBstr(bho_class_id_as_string), |
702 base::win::ScopedVariant(bho)); | 702 base::win::ScopedVariant(bho)); |
703 return S_OK; | 703 return S_OK; |
704 } | 704 } |
OLD | NEW |