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

Unified Diff: net/proxy/proxy_script_decider.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/proxy/proxy_script_decider.h
diff --git a/net/proxy/proxy_script_decider.h b/net/proxy/proxy_script_decider.h
index d5790806a1e84764706fc28c1df14bce37492586..85e26d6e1907c7984eab8bf7a5ff9b30ba73d4ea 100644
--- a/net/proxy/proxy_script_decider.h
+++ b/net/proxy/proxy_script_decider.h
@@ -79,9 +79,7 @@ class NET_EXPORT_PRIVATE ProxyScriptDecider {
// TODO(eroman): Return a const-pointer.
ProxyResolverScriptData* script_data() const;
- void set_quick_check_enabled(bool enabled) {
- quick_check_enabled_ = enabled;
- }
+ void set_quick_check_enabled(bool enabled) { quick_check_enabled_ = enabled; }
bool quick_check_enabled() const { return quick_check_enabled_; }
@@ -89,14 +87,9 @@ class NET_EXPORT_PRIVATE ProxyScriptDecider {
// Represents the sources from which we can get PAC files; two types of
// auto-detect or a custom URL.
struct PacSource {
- enum Type {
- WPAD_DHCP,
- WPAD_DNS,
- CUSTOM
- };
-
- PacSource(Type type, const GURL& url)
- : type(type), url(url) {}
+ enum Type { WPAD_DHCP, WPAD_DNS, CUSTOM };
+
+ PacSource(Type type, const GURL& url) : type(type), url(url) {}
// Returns a Value representing the PacSource. |effective_pac_url| must
// be non-NULL and point to the URL derived from information contained in

Powered by Google App Engine
This is Rietveld 408576698