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

Unified Diff: remoting/test/host_list_fetcher.h

Issue 2542343004: Updating the Chromoting Test Driver to target the test environment (Closed)
Patch Set: Addressing feedback Created 4 years 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 | « remoting/test/fake_host_list_fetcher.cc ('k') | remoting/test/host_list_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/host_list_fetcher.h
diff --git a/remoting/test/host_list_fetcher.h b/remoting/test/host_list_fetcher.h
index 54094bdd654f5bc9a042b006211ba38140735949..76d45bf158a0cf962799609b0739604de00d8e1c 100644
--- a/remoting/test/host_list_fetcher.h
+++ b/remoting/test/host_list_fetcher.h
@@ -29,6 +29,8 @@ namespace test {
// unittests for this class to set fake response data for these URLs.
const char kHostListProdRequestUrl[] = "https://www.googleapis.com/"
"chromoting/v1/@me/hosts";
+const char kHostListTestRequestUrl[] =
+ "https://www-googleapis-test.sandbox.google.com/chromoting/v1/@me/hosts";
// Requests a host list from the directory service for an access token.
// Destroying the RemoteHostInfoFetcher while a request is outstanding
@@ -48,6 +50,7 @@ class HostListFetcher : public net::URLFetcherDelegate {
// Makes a service call to retrieve a hostlist. The
// callback will be called once the HTTP request has completed.
virtual void RetrieveHostlist(const std::string& access_token,
+ const std::string& target_url,
const HostlistCallback& callback);
private:
« no previous file with comments | « remoting/test/fake_host_list_fetcher.cc ('k') | remoting/test/host_list_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698