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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/url_request/url_request_context_builder.h
diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
index 0f93f4af777e6e5269aec145f72d9757c3073c78..23001561245cc66f594a5b0103be1b72a6272b49 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -85,20 +85,14 @@ class NET_EXPORT URLRequestContextBuilder {
}
// Control support for data:// requests. By default it's disabled.
- void set_data_enabled(bool enable) {
- data_enabled_ = enable;
- }
+ void set_data_enabled(bool enable) { data_enabled_ = enable; }
// Control support for file:// requests. By default it's disabled.
- void set_file_enabled(bool enable) {
- file_enabled_ = enable;
- }
+ void set_file_enabled(bool enable) { file_enabled_ = enable; }
#if !defined(DISABLE_FTP_SUPPORT)
// Control support for ftp:// requests. By default it's disabled.
- void set_ftp_enabled(bool enable) {
- ftp_enabled_ = enable;
- }
+ void set_ftp_enabled(bool enable) { ftp_enabled_ = enable; }
#endif
// By default host_resolver is constructed with CreateDefaultResolver.
@@ -113,7 +107,6 @@ class NET_EXPORT URLRequestContextBuilder {
network_delegate_.reset(delegate);
}
-
// Adds additional auth handler factories to be used in addition to what is
// provided in the default |HttpAuthHandlerRegistryFactory|. The auth |scheme|
// and |factory| are provided. The builder takes ownership of the factory and
@@ -143,7 +136,6 @@ class NET_EXPORT URLRequestContextBuilder {
URLRequestContext* Build();
private:
-
struct SchemeFactory {
SchemeFactory(const std::string& scheme,
net::HttpAuthHandlerFactory* factory);

Powered by Google App Engine
This is Rietveld 408576698