| 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/utils.h" | 5 #include "chrome_frame/utils.h" |
| 6 | 6 |
| 7 #include <atlsafe.h> | 7 #include <atlsafe.h> |
| 8 #include <atlsecurity.h> | 8 #include <atlsecurity.h> |
| 9 #include <htiframe.h> | 9 #include <htiframe.h> |
| 10 #include <mshtml.h> | 10 #include <mshtml.h> |
| 11 #include <shlobj.h> | 11 #include <shlobj.h> |
| 12 | 12 |
| 13 #include "base/file_util.h" | 13 #include "base/file_util.h" |
| 14 #include "base/file_version_info.h" | 14 #include "base/file_version_info.h" |
| 15 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 18 #include "base/string_number_conversions.h" | 18 #include "base/string_number_conversions.h" |
| 19 #include "base/string_piece.h" | |
| 20 #include "base/string_util.h" | 19 #include "base/string_util.h" |
| 21 #include "base/stringprintf.h" | 20 #include "base/stringprintf.h" |
| 21 #include "base/strings/string_piece.h" |
| 22 #include "base/strings/string_tokenizer.h" | 22 #include "base/strings/string_tokenizer.h" |
| 23 #include "base/threading/thread_local.h" | 23 #include "base/threading/thread_local.h" |
| 24 #include "base/utf_string_conversions.h" | 24 #include "base/utf_string_conversions.h" |
| 25 #include "base/win/registry.h" | 25 #include "base/win/registry.h" |
| 26 #include "base/win/scoped_bstr.h" | 26 #include "base/win/scoped_bstr.h" |
| 27 #include "base/win/scoped_comptr.h" | 27 #include "base/win/scoped_comptr.h" |
| 28 #include "base/win/scoped_variant.h" | 28 #include "base/win/scoped_variant.h" |
| 29 #include "chrome/common/automation_messages.h" | 29 #include "chrome/common/automation_messages.h" |
| 30 #include "chrome/common/chrome_paths_internal.h" | 30 #include "chrome/common/chrome_paths_internal.h" |
| 31 #include "chrome/common/url_constants.h" | 31 #include "chrome/common/url_constants.h" |
| (...skipping 1619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1651 wininet_connection_count_updated = true; | 1651 wininet_connection_count_updated = true; |
| 1652 return true; | 1652 return true; |
| 1653 } | 1653 } |
| 1654 | 1654 |
| 1655 void GetChromeFrameProfilePath(const string16& profile_name, | 1655 void GetChromeFrameProfilePath(const string16& profile_name, |
| 1656 base::FilePath* profile_path) { | 1656 base::FilePath* profile_path) { |
| 1657 chrome::GetChromeFrameUserDataDirectory(profile_path); | 1657 chrome::GetChromeFrameUserDataDirectory(profile_path); |
| 1658 *profile_path = profile_path->Append(profile_name); | 1658 *profile_path = profile_path->Append(profile_name); |
| 1659 DVLOG(1) << __FUNCTION__ << ": " << profile_path->value(); | 1659 DVLOG(1) << __FUNCTION__ << ": " << profile_path->value(); |
| 1660 } | 1660 } |
| OLD | NEW |