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

Side by Side Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/web_state/ui/crw_web_controller.h" 5 #import "ios/web/web_state/ui/crw_web_controller.h"
6 6
7 #import <objc/runtime.h> 7 #import <objc/runtime.h>
8 #include <stddef.h>
8 #include <cmath> 9 #include <cmath>
9 10
10 #include "base/ios/block_types.h" 11 #include "base/ios/block_types.h"
11 #import "base/ios/ns_error_util.h" 12 #import "base/ios/ns_error_util.h"
12 #include "base/ios/weak_nsobject.h" 13 #include "base/ios/weak_nsobject.h"
13 #include "base/json/json_reader.h" 14 #include "base/json/json_reader.h"
14 #include "base/json/json_writer.h" 15 #include "base/json/json_writer.h"
15 #include "base/json/string_escape.h" 16 #include "base/json/string_escape.h"
16 #include "base/logging.h" 17 #include "base/logging.h"
17 #include "base/mac/bundle_locations.h" 18 #include "base/mac/bundle_locations.h"
(...skipping 3865 matching lines...) Expand 10 before | Expand all | Expand 10 after
3883 if ([MIMEType isEqualToString:@"text/html"] || 3884 if ([MIMEType isEqualToString:@"text/html"] ||
3884 [MIMEType isEqualToString:@"application/xhtml+xml"] || 3885 [MIMEType isEqualToString:@"application/xhtml+xml"] ||
3885 [MIMEType isEqualToString:@"application/xml"]) { 3886 [MIMEType isEqualToString:@"application/xml"]) {
3886 return web::WEB_VIEW_DOCUMENT_TYPE_HTML; 3887 return web::WEB_VIEW_DOCUMENT_TYPE_HTML;
3887 } 3888 }
3888 3889
3889 return web::WEB_VIEW_DOCUMENT_TYPE_GENERIC; 3890 return web::WEB_VIEW_DOCUMENT_TYPE_GENERIC;
3890 } 3891 }
3891 3892
3892 @end 3893 @end
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/crw_ui_web_view_web_controller.mm ('k') | ios/web/web_state/ui/crw_wk_web_view_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698