diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/base/file_stream_unittest.cc | 5 | ||||
-rw-r--r-- | net/disk_cache/mapped_file_unittest.cc | 4 | ||||
-rw-r--r-- | net/disk_cache/stats_histogram.h | 4 | ||||
-rw-r--r-- | net/ftp/ftp_network_transaction_unittest.cc | 3 | ||||
-rw-r--r-- | net/server/http_server.h | 2 | ||||
-rw-r--r-- | net/spdy/spdy_session_pool.h | 4 | ||||
-rw-r--r-- | net/url_request/url_request_test_job.h | 10 | ||||
-rw-r--r-- | net/url_request/url_request_throttler_entry.h | 4 |
8 files changed, 16 insertions, 20 deletions
diff --git a/net/base/file_stream_unittest.cc b/net/base/file_stream_unittest.cc index 82aaa24..a8cdfcc 100644 --- a/net/base/file_stream_unittest.cc +++ b/net/base/file_stream_unittest.cc @@ -646,7 +646,7 @@ TEST_F(FileStreamTest, BasicAsyncWriteRead) { class TestWriteReadCompletionCallback : public Callback1<int>::Type { public: - explicit TestWriteReadCompletionCallback( + TestWriteReadCompletionCallback( FileStream* stream, int* total_bytes_written, int* total_bytes_read, @@ -776,8 +776,7 @@ TEST_F(FileStreamTest, AsyncWriteRead) { class TestWriteCloseCompletionCallback : public Callback1<int>::Type { public: - explicit TestWriteCloseCompletionCallback(FileStream* stream, - int* total_bytes_written) + TestWriteCloseCompletionCallback(FileStream* stream, int* total_bytes_written) : result_(0), have_result_(false), waiting_for_result_(false), diff --git a/net/disk_cache/mapped_file_unittest.cc b/net/disk_cache/mapped_file_unittest.cc index fefc383..1ab80b1 100644 --- a/net/disk_cache/mapped_file_unittest.cc +++ b/net/disk_cache/mapped_file_unittest.cc @@ -15,9 +15,7 @@ namespace { // Implementation of FileIOCallback for the tests. class FileCallbackTest: public disk_cache::FileIOCallback { public: - explicit FileCallbackTest(int id, - MessageLoopHelper* helper, - int* max_id) + FileCallbackTest(int id, MessageLoopHelper* helper, int* max_id) : id_(id), helper_(helper), max_id_(max_id) { diff --git a/net/disk_cache/stats_histogram.h b/net/disk_cache/stats_histogram.h index f41c384..318a8bc 100644 --- a/net/disk_cache/stats_histogram.h +++ b/net/disk_cache/stats_histogram.h @@ -30,8 +30,8 @@ class StatsHistogram : public base::Histogram { } }; - explicit StatsHistogram(const std::string& name, Sample minimum, - Sample maximum, size_t bucket_count) + StatsHistogram(const std::string& name, Sample minimum, + Sample maximum, size_t bucket_count) : Histogram(name, minimum, maximum, bucket_count), init_(false) {} virtual ~StatsHistogram(); diff --git a/net/ftp/ftp_network_transaction_unittest.cc b/net/ftp/ftp_network_transaction_unittest.cc index 4b929ba..d8bf377 100644 --- a/net/ftp/ftp_network_transaction_unittest.cc +++ b/net/ftp/ftp_network_transaction_unittest.cc @@ -628,8 +628,7 @@ class FtpSocketDataProviderEvilEpsv : public FtpSocketDataProviderFileDownload { class FtpSocketDataProviderEvilPasv : public FtpSocketDataProviderFileDownloadWithPasvFallback { public: - explicit FtpSocketDataProviderEvilPasv(const char* pasv_response, - State expected_state) + FtpSocketDataProviderEvilPasv(const char* pasv_response, State expected_state) : pasv_response_(pasv_response), expected_state_(expected_state) { } diff --git a/net/server/http_server.h b/net/server/http_server.h index 09a2f8a..78f6e42 100644 --- a/net/server/http_server.h +++ b/net/server/http_server.h @@ -58,7 +58,7 @@ private: static int lastId_; friend class HttpServer; - explicit Connection(HttpServer* server, ListenSocket* sock); + Connection(HttpServer* server, ListenSocket* sock); ~Connection(); void DetachSocket(); diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h index ba02eed..b31e4e9 100644 --- a/net/spdy/spdy_session_pool.h +++ b/net/spdy/spdy_session_pool.h @@ -40,8 +40,8 @@ class NET_API SpdySessionPool public SSLConfigService::Observer, public CertDatabase::Observer { public: - explicit SpdySessionPool(HostResolver* host_resolver, - SSLConfigService* ssl_config_service); + SpdySessionPool(HostResolver* host_resolver, + SSLConfigService* ssl_config_service); virtual ~SpdySessionPool(); // Either returns an existing SpdySession or creates a new SpdySession for diff --git a/net/url_request/url_request_test_job.h b/net/url_request/url_request_test_job.h index 19210b1..80d51ce 100644 --- a/net/url_request/url_request_test_job.h +++ b/net/url_request/url_request_test_job.h @@ -44,15 +44,15 @@ class NET_TEST URLRequestTestJob : public URLRequestJob { // Constructs a job to return one of the canned responses depending on the // request url, optionally with auto advance enabled. - explicit URLRequestTestJob(URLRequest* request, bool auto_advance); + URLRequestTestJob(URLRequest* request, bool auto_advance); // Constructs a job to return the given response regardless of the request // url. The headers should include the HTTP status line and be formatted as // expected by HttpResponseHeaders. - explicit URLRequestTestJob(URLRequest* request, - const std::string& response_headers, - const std::string& response_data, - bool auto_advance); + URLRequestTestJob(URLRequest* request, + const std::string& response_headers, + const std::string& response_data, + bool auto_advance); // The three canned URLs this handler will respond to without having been // explicitly initialized with response headers and data. diff --git a/net/url_request/url_request_throttler_entry.h b/net/url_request/url_request_throttler_entry.h index 75e6aa0..10f1adc 100644 --- a/net/url_request/url_request_throttler_entry.h +++ b/net/url_request/url_request_throttler_entry.h @@ -71,8 +71,8 @@ class NET_API URLRequestThrottlerEntry static const char kExponentialThrottlingDisableValue[]; // The manager object's lifetime must enclose the lifetime of this object. - explicit URLRequestThrottlerEntry(URLRequestThrottlerManager* manager, - const std::string& url_id); + URLRequestThrottlerEntry(URLRequestThrottlerManager* manager, + const std::string& url_id); // The life span of instances created with this constructor is set to // infinite, and the number of initial errors to ignore is set to 0. |