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

Side by Side Diff: ios/net/http_protocol_logging.mm

Issue 2603973002: Import Objective C Frameworks (Closed)
Patch Set: only ios Created 3 years, 11 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
« no previous file with comments | « ios/net/cookies/cookie_creation_time_manager.mm ('k') | ios/net/http_response_headers_util.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ios/net/http_protocol_logging.h" 5 #include "ios/net/http_protocol_logging.h"
6 6
7 #include <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
11 #import "ios/net/url_scheme_util.h" 11 #import "ios/net/url_scheme_util.h"
12 12
13 #if !defined(__has_feature) || !__has_feature(objc_arc) 13 #if !defined(__has_feature) || !__has_feature(objc_arc)
14 #error "This file requires ARC support." 14 #error "This file requires ARC support."
15 #endif 15 #endif
16 16
17 namespace { 17 namespace {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 DVLOG_IF(2, [response isKindOfClass:[NSHTTPURLResponse class]]) 73 DVLOG_IF(2, [response isKindOfClass:[NSHTTPURLResponse class]])
74 << "Response code: " << [(NSHTTPURLResponse*)response statusCode]; 74 << "Response code: " << [(NSHTTPURLResponse*)response statusCode];
75 75
76 DVLOG_IF(2, [response textEncodingName]) 76 DVLOG_IF(2, [response textEncodingName])
77 << "Text encoding: " 77 << "Text encoding: "
78 << base::SysNSStringToUTF8([response textEncodingName]); 78 << base::SysNSStringToUTF8([response textEncodingName]);
79 } 79 }
80 80
81 } // namespace http_protocol_logging 81 } // namespace http_protocol_logging
OLDNEW
« no previous file with comments | « ios/net/cookies/cookie_creation_time_manager.mm ('k') | ios/net/http_response_headers_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698