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

Side by Side Diff: ios/net/cookies/system_cookie_util.mm

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/system_cookie_util.h ('k') | ios/net/crn_http_protocol_handler.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 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 #include "ios/net/cookies/system_cookie_util.h" 5 #include "ios/net/cookies/system_cookie_util.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 #include <stddef.h>
8 9
9 #include "base/logging.h" 10 #include "base/logging.h"
10 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "base/strings/sys_string_conversions.h" 13 #include "base/strings/sys_string_conversions.h"
13 #include "net/cookies/cookie_constants.h" 14 #include "net/cookies/cookie_constants.h"
14 #include "url/gurl.h" 15 #include "url/gurl.h"
15 16
16 namespace net { 17 namespace net {
17 18
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 ResetCookieCountMetrics(); 145 ResetCookieCountMetrics();
145 } 146 }
146 147
147 void ResetCookieCountMetrics() { 148 void ResetCookieCountMetrics() {
148 NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; 149 NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
149 [defaults setBool:NO forKey:kCheckCookieLossKey]; 150 [defaults setBool:NO forKey:kCheckCookieLossKey];
150 [defaults synchronize]; 151 [defaults synchronize];
151 } 152 }
152 153
153 } // namespace net 154 } // namespace net
OLDNEW
« no previous file with comments | « ios/net/cookies/system_cookie_util.h ('k') | ios/net/crn_http_protocol_handler.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698