Chromium Code Reviews| 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 #ifndef CHROME_FRAME_UTILS_H_ | 5 #ifndef CHROME_FRAME_UTILS_H_ |
| 6 #define CHROME_FRAME_UTILS_H_ | 6 #define CHROME_FRAME_UTILS_H_ |
| 7 | 7 |
| 8 #include <OAidl.h> | 8 #include <OAidl.h> |
| 9 #include <objidl.h> | 9 #include <objidl.h> |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 614 // Returns true if ChromeFrame is the currently loaded document. | 614 // Returns true if ChromeFrame is the currently loaded document. |
| 615 bool IsChromeFrameDocument(IWebBrowser2* web_browser); | 615 bool IsChromeFrameDocument(IWebBrowser2* web_browser); |
| 616 | 616 |
| 617 // Increases the wininet connection limit for HTTP 1.0/1.1 connections to the | 617 // Increases the wininet connection limit for HTTP 1.0/1.1 connections to the |
| 618 // value passed in. This is only done if the existing connection limit is | 618 // value passed in. This is only done if the existing connection limit is |
| 619 // lesser than the connection limit passed in. This function attempts to | 619 // lesser than the connection limit passed in. This function attempts to |
| 620 // increase the connection count once per process. | 620 // increase the connection count once per process. |
| 621 // Returns true on success. | 621 // Returns true on success. |
| 622 bool IncreaseWinInetConnections(DWORD connections); | 622 bool IncreaseWinInetConnections(DWORD connections); |
| 623 | 623 |
| 624 // Sets |profile_path| to the path for the Chrome Frame |profile_name| | |
| 625 // profile. | |
| 626 void GetChromeFrameProfilePath(const std::wstring& profile_name, | |
|
robertshield
2012/05/02 20:05:13
Any reason not to use string16?
Jói
2012/05/03 11:41:52
Yes, laziness. Fixed now :)
| |
| 627 FilePath* profile_path); | |
| 628 | |
| 624 #endif // CHROME_FRAME_UTILS_H_ | 629 #endif // CHROME_FRAME_UTILS_H_ |
| OLD | NEW |