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

Unified Diff: net/filter/mock_filter_context.h

Issue 380003002: Improve testing for SDCH. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed braino: Added SDHC enable to the tests that need it. Created 6 years, 5 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: net/filter/mock_filter_context.h
diff --git a/net/filter/mock_filter_context.h b/net/filter/mock_filter_context.h
index 9bb6235a3a9ab161c08880e1421c9b574078d33b..c9ea9c96a592cf5f6338275ee144f08735ae191f 100644
--- a/net/filter/mock_filter_context.h
+++ b/net/filter/mock_filter_context.h
@@ -35,6 +35,9 @@ class MockFilterContext : public FilterContext {
URLRequestContext* GetModifiableURLRequestContext() const {
return context_.get();
}
+ // Make all interfaces that might be unstable after a URLRequests
mef 2014/07/23 18:34:30 nit: nl above.
Randy Smith (Not in Mondays) 2014/07/29 23:44:21 Done.
+ // destruction be so.
jar (doing other things) 2014/07/31 03:24:34 nit: comment seemed clumsy... or at least I had to
Randy Smith (Not in Mondays) 2014/08/11 20:33:25 s/URLRequests/URLRequest's destructor/. I mean to
+ void NukeUnstableInterfaces();
virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
@@ -77,6 +80,7 @@ class MockFilterContext : public FilterContext {
bool is_cached_content_;
bool is_download_;
bool is_sdch_response_;
+ bool ok_to_call_get_url_;
int response_code_;
scoped_ptr<URLRequestContext> context_;

Powered by Google App Engine
This is Rietveld 408576698