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

Side by Side Diff: ios/chrome/browser/net/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 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 #include "ios/chrome/browser/net/cookie_util.h" 5 #include "ios/chrome/browser/net/cookie_util.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 #include <stddef.h>
8 #include <sys/sysctl.h> 9 #include <sys/sysctl.h>
9 10
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #import "base/mac/bind_objc_block.h" 12 #import "base/mac/bind_objc_block.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "ios/net/cookies/cookie_store_ios.h" 14 #include "ios/net/cookies/cookie_store_ios.h"
14 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state. h" 15 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state. h"
15 #include "ios/web/public/web_thread.h" 16 #include "ios/web/public/web_thread.h"
16 #include "net/cookies/cookie_monster.h" 17 #include "net/cookies/cookie_monster.h"
17 #include "net/cookies/cookie_store.h" 18 #include "net/cookies/cookie_store.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 browser_state->GetRequestContext(); 117 browser_state->GetRequestContext();
117 web::WebThread::PostTask( 118 web::WebThread::PostTask(
118 web::WebThread::IO, FROM_HERE, base::BindBlock(^{ 119 web::WebThread::IO, FROM_HERE, base::BindBlock(^{
119 getter->GetURLRequestContext() 120 getter->GetURLRequestContext()
120 ->cookie_store() 121 ->cookie_store()
121 ->DeleteSessionCookiesAsync(base::Bind(&DoNothing)); 122 ->DeleteSessionCookiesAsync(base::Bind(&DoNothing));
122 })); 123 }));
123 } 124 }
124 125
125 } // namespace cookie_util 126 } // namespace cookie_util
OLDNEW
« no previous file with comments | « ios/chrome/browser/net/connection_type_observer_bridge.h ('k') | ios/chrome/browser/net/crl_set_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698