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

Side by Side Diff: chrome_frame/test/test_with_web_server.h

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/test/http_negotiate_unittest.cc ('k') | chrome_frame/urlmon_moniker.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_TEST_TEST_WITH_WEB_SERVER_H_ 5 #ifndef CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_
6 #define CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_ 6 #define CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h"
12 #include "chrome_frame/test/http_server.h" 13 #include "chrome_frame/test/http_server.h"
13 #include "chrome_frame/test/test_server.h" 14 #include "chrome_frame/test/test_server.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
16 17
17 // Include without path to make GYP build see it. 18 // Include without path to make GYP build see it.
18 #include "chrome_tab.h" // NOLINT 19 #include "chrome_tab.h" // NOLINT
19 20
20 // Class that: 21 // Class that:
21 // 1) Starts the local webserver, 22 // 1) Starts the local webserver,
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Send a response on the given connection appropriate for |resource_uri|. 295 // Send a response on the given connection appropriate for |resource_uri|.
295 // If the file referred to by |path| exists, send the file data, otherwise 296 // If the file referred to by |path| exists, send the file data, otherwise
296 // send 404. Modify the file data according to the given invocation method. 297 // send 404. Modify the file data according to the given invocation method.
297 void SendResponseHelper(test_server::ConfigurableConnection* connection, 298 void SendResponseHelper(test_server::ConfigurableConnection* connection,
298 const std::wstring& resource_uri, 299 const std::wstring& resource_uri,
299 CFInvocation invocation, 300 CFInvocation invocation,
300 bool add_no_cache_header); 301 bool add_no_cache_header);
301 }; 302 };
302 303
303 #endif // CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_ 304 #endif // CHROME_FRAME_TEST_TEST_WITH_WEB_SERVER_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/http_negotiate_unittest.cc ('k') | chrome_frame/urlmon_moniker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698