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" | |
14 #include "base/file_version_info.h" | 13 #include "base/file_version_info.h" |
15 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
16 #include "base/logging.h" | 15 #include "base/logging.h" |
17 #include "base/path_service.h" | 16 #include "base/path_service.h" |
18 #include "base/string_number_conversions.h" | 17 #include "base/string_number_conversions.h" |
19 #include "base/string_util.h" | 18 #include "base/string_util.h" |
20 #include "base/stringprintf.h" | 19 #include "base/stringprintf.h" |
21 #include "base/strings/string_piece.h" | 20 #include "base/strings/string_piece.h" |
22 #include "base/strings/string_tokenizer.h" | 21 #include "base/strings/string_tokenizer.h" |
23 #include "base/threading/thread_local.h" | 22 #include "base/threading/thread_local.h" |
(...skipping 1627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1651 wininet_connection_count_updated = true; | 1650 wininet_connection_count_updated = true; |
1652 return true; | 1651 return true; |
1653 } | 1652 } |
1654 | 1653 |
1655 void GetChromeFrameProfilePath(const string16& profile_name, | 1654 void GetChromeFrameProfilePath(const string16& profile_name, |
1656 base::FilePath* profile_path) { | 1655 base::FilePath* profile_path) { |
1657 chrome::GetChromeFrameUserDataDirectory(profile_path); | 1656 chrome::GetChromeFrameUserDataDirectory(profile_path); |
1658 *profile_path = profile_path->Append(profile_name); | 1657 *profile_path = profile_path->Append(profile_name); |
1659 DVLOG(1) << __FUNCTION__ << ": " << profile_path->value(); | 1658 DVLOG(1) << __FUNCTION__ << ": " << profile_path->value(); |
1660 } | 1659 } |
OLD | NEW |