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

Unified Diff: chrome/test/live_sync/live_bookmarks_sync_test.h

Issue 214047: Allow an entire InProcessBrowserTest subclass to configure the host resolver ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « chrome/test/in_process_browser_test.cc ('k') | chrome/test/live_sync/live_bookmarks_sync_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/live_sync/live_bookmarks_sync_test.h
===================================================================
--- chrome/test/live_sync/live_bookmarks_sync_test.h (revision 26713)
+++ chrome/test/live_sync/live_bookmarks_sync_test.h (working copy)
@@ -69,7 +69,15 @@
std::string username_;
std::string password_;
+ virtual void SetUpInProcessBrowserTestFixture();
+ virtual void TearDownInProcessBrowserTestFixture();
+
private:
+ // LiveBookmarksSyncTests need to make live DNS requests for access to
+ // GAIA and sync server URLs under google.com. We use a scoped version
+ // to override the default resolver while the test is active.
+ scoped_ptr<net::ScopedDefaultHostResolverProc> mock_host_resolver_override_;
+
DISALLOW_COPY_AND_ASSIGN(LiveBookmarksSyncTest);
};
« no previous file with comments | « chrome/test/in_process_browser_test.cc ('k') | chrome/test/live_sync/live_bookmarks_sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698