Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1817)

Unified Diff: chrome_frame/utils.h

Issue 10197011: Share the "get CF profile dir" code between ChromeFramePlugin and chrome_frame_test_utils.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/utils.h
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h
index d9f65804c467d4a5a5098c87cf05099794cf822f..6a5d5b912dbb18f8f6fbe9eaebaa7988600f8d51 100644
--- a/chrome_frame/utils.h
+++ b/chrome_frame/utils.h
@@ -621,4 +621,9 @@ bool IsChromeFrameDocument(IWebBrowser2* web_browser);
// Returns true on success.
bool IncreaseWinInetConnections(DWORD connections);
+// Sets |profile_path| to the path for the Chrome Frame |profile_name|
+// profile.
+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 :)
+ FilePath* profile_path);
+
#endif // CHROME_FRAME_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698