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 #import "ios/web/shell/view_controller.h" | 5 #import "ios/web/shell/view_controller.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/mac/objc_property_releaser.h" | 9 #include "base/mac/objc_property_releaser.h" |
8 #import "base/mac/scoped_nsobject.h" | 10 #import "base/mac/scoped_nsobject.h" |
9 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
10 #include "base/strings/sys_string_conversions.h" | 12 #include "base/strings/sys_string_conversions.h" |
11 #include "ios/net/cookies/cookie_store_ios.h" | 13 #include "ios/net/cookies/cookie_store_ios.h" |
12 #import "ios/net/crn_http_protocol_handler.h" | 14 #import "ios/net/crn_http_protocol_handler.h" |
13 #import "ios/net/empty_nsurlcache.h" | 15 #import "ios/net/empty_nsurlcache.h" |
14 #import "ios/web/navigation/crw_session_controller.h" | 16 #import "ios/web/navigation/crw_session_controller.h" |
15 #include "ios/web/navigation/web_load_params.h" | 17 #include "ios/web/navigation/web_load_params.h" |
16 #import "ios/web/net/crw_url_verifying_protocol_handler.h" | 18 #import "ios/web/net/crw_url_verifying_protocol_handler.h" |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 runAuthDialogForProtectionSpace:(NSURLProtectionSpace*)protectionSpace | 369 runAuthDialogForProtectionSpace:(NSURLProtectionSpace*)protectionSpace |
368 proposedCredential:(NSURLCredential*)credential | 370 proposedCredential:(NSURLCredential*)credential |
369 completionHandler: | 371 completionHandler: |
370 (void (^)(NSString* user, NSString* password))handler { | 372 (void (^)(NSString* user, NSString* password))handler { |
371 // Calling |handler| with nil objects is the same as not implemeting it. This | 373 // Calling |handler| with nil objects is the same as not implemeting it. This |
372 // method is implemented to make testing easier. | 374 // method is implemented to make testing easier. |
373 handler(nil, nil); | 375 handler(nil, nil); |
374 } | 376 } |
375 | 377 |
376 @end | 378 @end |
OLD | NEW |