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

Side by Side Diff: chrome_frame/utils.cc

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, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/utils.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome_frame/utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698