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 // chrome_tab.cc : Implementation of DLL Exports. | 5 // chrome_tab.cc : Implementation of DLL Exports. |
6 | 6 |
7 // Need to include this before the ATL headers below. | 7 // Need to include this before the ATL headers below. |
8 #include "chrome_frame/chrome_tab.h" | 8 #include "chrome_frame/chrome_tab.h" |
9 | 9 |
10 #include <atlsecurity.h> | 10 #include <atlsecurity.h> |
11 #include <objbase.h> | 11 #include <objbase.h> |
12 | 12 |
13 #include "base/at_exit.h" | 13 #include "base/at_exit.h" |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/file_util.h" | 16 #include "base/file_util.h" |
17 #include "base/file_version_info.h" | 17 #include "base/file_version_info.h" |
18 #include "base/logging.h" | 18 #include "base/logging.h" |
19 #include "base/logging_win.h" | 19 #include "base/logging_win.h" |
20 #include "base/path_service.h" | 20 #include "base/path_service.h" |
21 #include "base/string16.h" | 21 #include "base/strings/string16.h" |
22 #include "base/string_number_conversions.h" | 22 #include "base/strings/string_number_conversions.h" |
23 #include "base/string_util.h" | |
24 #include "base/strings/string_piece.h" | 23 #include "base/strings/string_piece.h" |
| 24 #include "base/strings/string_util.h" |
25 #include "base/strings/sys_string_conversions.h" | 25 #include "base/strings/sys_string_conversions.h" |
26 #include "base/strings/utf_string_conversions.h" | 26 #include "base/strings/utf_string_conversions.h" |
27 #include "base/win/registry.h" | 27 #include "base/win/registry.h" |
28 #include "base/win/windows_version.h" | 28 #include "base/win/windows_version.h" |
29 #include "chrome/common/chrome_constants.h" | 29 #include "chrome/common/chrome_constants.h" |
30 #include "chrome/common/chrome_switches.h" | 30 #include "chrome/common/chrome_switches.h" |
31 #include "chrome/common/metrics/entropy_provider.h" | 31 #include "chrome/common/metrics/entropy_provider.h" |
32 #include "chrome/installer/util/google_update_settings.h" | 32 #include "chrome/installer/util/google_update_settings.h" |
33 #include "chrome_frame/bho.h" | 33 #include "chrome_frame/bho.h" |
34 #include "chrome_frame/chrome_active_document.h" | 34 #include "chrome_frame/chrome_active_document.h" |
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
977 HRESULT hr = CustomRegistration(ALL, FALSE, false); | 977 HRESULT hr = CustomRegistration(ALL, FALSE, false); |
978 return hr; | 978 return hr; |
979 } | 979 } |
980 | 980 |
981 // Object entries go here instead of with each object, so that we can move | 981 // Object entries go here instead of with each object, so that we can move |
982 // the objects to a lib. Also reduces magic. | 982 // the objects to a lib. Also reduces magic. |
983 OBJECT_ENTRY_AUTO(CLSID_ChromeFrameBHO, Bho) | 983 OBJECT_ENTRY_AUTO(CLSID_ChromeFrameBHO, Bho) |
984 OBJECT_ENTRY_AUTO(__uuidof(ChromeActiveDocument), ChromeActiveDocument) | 984 OBJECT_ENTRY_AUTO(__uuidof(ChromeActiveDocument), ChromeActiveDocument) |
985 OBJECT_ENTRY_AUTO(__uuidof(ChromeFrame), ChromeFrameActivex) | 985 OBJECT_ENTRY_AUTO(__uuidof(ChromeFrame), ChromeFrameActivex) |
986 OBJECT_ENTRY_AUTO(__uuidof(ChromeProtocol), ChromeProtocol) | 986 OBJECT_ENTRY_AUTO(__uuidof(ChromeProtocol), ChromeProtocol) |
OLD | NEW |