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

Unified Diff: chrome/browser/ui/search/instant_test_utils.h

Issue 1409163006: Migrating tests to use EmbeddedTestServer (/chrome/browser misc) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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/ui/search/instant_test_utils.h
diff --git a/chrome/browser/ui/search/instant_test_utils.h b/chrome/browser/ui/search/instant_test_utils.h
index 1a63cc6847495ab4ca0e7e402ae3b592e35a38c8..83c3327c8e1eb4808e61dc09ef36821ebf5e33d7 100644
--- a/chrome/browser/ui/search/instant_test_utils.h
+++ b/chrome/browser/ui/search/instant_test_utils.h
@@ -18,7 +18,7 @@
#include "chrome/browser/ui/location_bar/location_bar.h"
#include "chrome/browser/ui/search/instant_controller.h"
#include "chrome/common/search_types.h"
-#include "net/test/spawned_test_server/spawned_test_server.h"
+#include "net/test/embedded_test_server/embedded_test_server.h"
#include "url/gurl.h"
class BrowserInstantController;
@@ -64,7 +64,7 @@ class InstantTestBase {
const GURL& ntp_url() const { return ntp_url_; }
- net::SpawnedTestServer& https_test_server() { return https_test_server_; }
+ net::EmbeddedTestServer& https_test_server() { return https_test_server_; }
void KillInstantRenderView();
@@ -106,7 +106,7 @@ class InstantTestBase {
Browser* browser_;
// HTTPS Testing server, started on demand.
- net::SpawnedTestServer https_test_server_;
+ net::EmbeddedTestServer https_test_server_;
// Set to true to initialize suggestions URL in default search provider.
bool init_suggestions_url_;
« no previous file with comments | « chrome/browser/ui/search/instant_extended_interactive_uitest.cc ('k') | chrome/browser/ui/search/instant_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698