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

Unified Diff: chrome_frame/test/test_with_web_server.h

Issue 3433026: Add a unit test for refresh in mshtml to see where we're not tagging the user... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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
« no previous file with comments | « chrome_frame/test/data/mshtml_refresh_test_popup.html ('k') | chrome_frame/test/test_with_web_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/test_with_web_server.h
===================================================================
--- chrome_frame/test/test_with_web_server.h (revision 60471)
+++ chrome_frame/test/test_with_web_server.h (working copy)
@@ -227,10 +227,11 @@
server_.DeleteAllResponses();
}
- void PopulateStaticFileList(const wchar_t* pages[], int count,
- const FilePath& directory) {
+ template <class ResponseClass>
+ void PopulateStaticFileListT(const wchar_t* pages[], int count,
+ const FilePath& directory) {
for (int i = 0; i < count; ++i) {
- server_.AddResponse(new test_server::FileResponse(
+ server_.AddResponse(new ResponseClass(
StringPrintf("/%ls", pages[i]).c_str(), directory.Append(pages[i])));
}
}
« no previous file with comments | « chrome_frame/test/data/mshtml_refresh_test_popup.html ('k') | chrome_frame/test/test_with_web_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698