Index: net/http/http_auth_handler_factory.h |
diff --git a/net/http/http_auth_handler_factory.h b/net/http/http_auth_handler_factory.h |
index a56d5e1af8f16956e2ec137e69a11cf08fd40c90..1e4134f4dcb19730c0595b6ea78ed8231caf1852 100644 |
--- a/net/http/http_auth_handler_factory.h |
+++ b/net/http/http_auth_handler_factory.h |
@@ -28,6 +28,11 @@ class HttpAuthHandlerRegistryFactory; |
// objects that it creates. |
class HttpAuthHandlerFactory { |
public: |
+ enum CreateReason { |
+ CREATE_CHALLENGE, // Create a handler in response to a challenge. |
+ CREATE_PREEMPTIVE, // Create a handler preemptively. |
+ }; |
+ |
HttpAuthHandlerFactory() : url_security_manager_(NULL) {} |
virtual ~HttpAuthHandlerFactory() {} |
@@ -42,11 +47,6 @@ class HttpAuthHandlerFactory { |
return url_security_manager_; |
} |
- enum CreateReason { |
- CREATE_CHALLENGE, // Create a handler in response to a challenge. |
- CREATE_PREEMPTIVE, // Create a handler preemptively. |
- }; |
- |
// Creates an HttpAuthHandler object based on the authentication |
// challenge specified by |*challenge|. |challenge| must point to a valid |
// non-NULL tokenizer. |