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 1cde930fcdb4e6707300a6f6689b724a74b494d7..9d2ed93272ec2fe5c858c067c646ede9f05defb1 100644 |
--- a/chrome/browser/google_apis/test_util.h |
+++ b/chrome/browser/google_apis/test_util.h |
@@ -9,6 +9,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/google_apis/gdata_errorcode.h" |
+#include "googleurl/src/gurl.h" |
class FilePath; |
@@ -41,6 +42,10 @@ void RunBlockingPoolTask(); |
// chrome/test/data/chromeos. |
FilePath GetTestFilePath(const std::string& relative_path); |
+// Returns the base URL for communicating with the local test server for |
+// testing, running at the specified port number. |
+GURL GetBaseUrlForTesting(int port); |
+ |
// Loads a test JSON file as a base::Value, from a test file stored under |
// chrome/test/data/chromeos. |
scoped_ptr<base::Value> LoadJSONFile(const std::string& relative_path); |