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

Unified Diff: chrome/browser/google_apis/test_util.h

Issue 15505003: GTTF: Convert most tests in content to use EmbeddedTestServer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/google_apis/test_util.h
diff --git a/chrome/browser/google_apis/test_util.h b/chrome/browser/google_apis/test_util.h
index eb69b1eacd672c25c1c0a16b03c892b07e4c69d9..e95c8fa1c1e02718da0f2c7f508773f32be01ae2 100644
--- a/chrome/browser/google_apis/test_util.h
+++ b/chrome/browser/google_apis/test_util.h
@@ -26,8 +26,9 @@ class Value;
namespace net {
namespace test_server {
-struct HttpRequest;
+class BasicHttpResponse;
class HttpResponse;
+struct HttpRequest;
}
}
@@ -89,7 +90,7 @@ bool CreateFileOfSpecifiedSize(const base::FilePath& temp_dir,
scoped_ptr<base::Value> LoadJSONFile(const std::string& relative_path);
// Returns a HttpResponse created from the given file path.
-scoped_ptr<net::test_server::HttpResponse> CreateHttpResponseFromFile(
+scoped_ptr<net::test_server::BasicHttpResponse> CreateHttpResponseFromFile(
const base::FilePath& file_path);
// Handles a request for downloading a file. Reads a file from the test
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_operations_unittest.cc ('k') | chrome/browser/google_apis/test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698