OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SERVICES_AUTHENTICATING_URL_LOADER_INTERCEPTOR_AUTHENTICATING_URL_LOADER
_INTERCEPTOR_H_ | 5 #ifndef SERVICES_AUTHENTICATING_URL_LOADER_INTERCEPTOR_AUTHENTICATING_URL_LOADER
_INTERCEPTOR_H_ |
6 #define SERVICES_AUTHENTICATING_URL_LOADER_INTERCEPTOR_AUTHENTICATING_URL_LOADER
_INTERCEPTOR_H_ | 6 #define SERVICES_AUTHENTICATING_URL_LOADER_INTERCEPTOR_AUTHENTICATING_URL_LOADER
_INTERCEPTOR_H_ |
7 | 7 |
8 #include "mojo/public/cpp/bindings/binding.h" | 8 #include "mojo/public/cpp/bindings/binding.h" |
9 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" | 9 #include "mojo/services/network/interfaces/url_loader.mojom.h" |
10 #include "services/authenticating_url_loader_interceptor/authenticating_url_load
er_interceptor_factory.h" | 10 #include "services/authenticating_url_loader_interceptor/authenticating_url_load
er_interceptor_factory.h" |
11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
12 | 12 |
13 namespace mojo { | 13 namespace mojo { |
14 | 14 |
15 class NetworkService; | 15 class NetworkService; |
16 | 16 |
17 enum RequestAuthorizationState { | 17 enum RequestAuthorizationState { |
18 REQUEST_INITIAL, | 18 REQUEST_INITIAL, |
19 REQUEST_USED_CURRENT_AUTH_SERVICE_TOKEN, | 19 REQUEST_USED_CURRENT_AUTH_SERVICE_TOKEN, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 RequestAuthorizationState request_authorization_state_; | 53 RequestAuthorizationState request_authorization_state_; |
54 GURL url_; | 54 GURL url_; |
55 bool auto_follow_redirects_; | 55 bool auto_follow_redirects_; |
56 URLRequest::CacheMode cache_mode_; | 56 URLRequest::CacheMode cache_mode_; |
57 Array<HttpHeaderPtr> headers_; | 57 Array<HttpHeaderPtr> headers_; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace mojo | 60 } // namespace mojo |
61 | 61 |
62 #endif // SERVICES_AUTHENTICATING_URL_LOADER_INTERCEPTOR_AUTHENTICATING_URL_LOA
DER_INTERCEPTOR_H_ | 62 #endif // SERVICES_AUTHENTICATING_URL_LOADER_INTERCEPTOR_AUTHENTICATING_URL_LOA
DER_INTERCEPTOR_H_ |
OLD | NEW |