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> |
(...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1664 | 1664 |
1665 ret = InternetSetOption(NULL, connection_options[option_index], | 1665 ret = InternetSetOption(NULL, connection_options[option_index], |
1666 &connections, connection_value_size); | 1666 &connections, connection_value_size); |
1667 if (!ret) { | 1667 if (!ret) { |
1668 return false; | 1668 return false; |
1669 } | 1669 } |
1670 } | 1670 } |
1671 wininet_connection_count_updated = true; | 1671 wininet_connection_count_updated = true; |
1672 return true; | 1672 return true; |
1673 } | 1673 } |
| 1674 |
| 1675 void GetChromeFrameProfilePath(const string16& profile_name, |
| 1676 FilePath* profile_path) { |
| 1677 chrome::GetChromeFrameUserDataDirectory(profile_path); |
| 1678 *profile_path = profile_path->Append(profile_name); |
| 1679 DVLOG(1) << __FUNCTION__ << ": " << profile_path->value(); |
| 1680 } |
OLD | NEW |