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

Unified Diff: net/base/mock_file_stream.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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 | « media/ffmpeg/ffmpeg_regression_tests.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mock_file_stream.h
diff --git a/net/base/mock_file_stream.h b/net/base/mock_file_stream.h
index f9c8bbd80245f16237064b9097891d6825a843cc..40ee2e8877bec06054df90c9973a4241f858dd9b 100644
--- a/net/base/mock_file_stream.h
+++ b/net/base/mock_file_stream.h
@@ -21,7 +21,7 @@ namespace testing {
class MockFileStream : public net::FileStream {
public:
- MockFileStream(net::NetLog* net_log)
+ explicit MockFileStream(net::NetLog* net_log)
: net::FileStream(net_log), forced_error_(net::OK) {}
MockFileStream(base::PlatformFile file, int flags, net::NetLog* net_log)
« no previous file with comments | « media/ffmpeg/ffmpeg_regression_tests.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698