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

Side by Side Diff: ios/net/clients/crn_network_client_protocol.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? Created 4 years, 8 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/crnet/sdch_owner_pref_storage.cc ('k') | ios/net/cookies/cookie_store_ios.h » ('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 #ifndef IOS_NET_CLIENTS_CRN_NETWORK_CLIENT_PROTOCOL_H_ 5 #ifndef IOS_NET_CLIENTS_CRN_NETWORK_CLIENT_PROTOCOL_H_
6 #define IOS_NET_CLIENTS_CRN_NETWORK_CLIENT_PROTOCOL_H_ 6 #define IOS_NET_CLIENTS_CRN_NETWORK_CLIENT_PROTOCOL_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
13 12
14 namespace net { 13 namespace net {
15 class AuthChallengeInfo; 14 class AuthChallengeInfo;
16 class URLRequest; 15 class URLRequest;
17 } // namespace net 16 } // namespace net
18 17
19 namespace network_client { 18 namespace network_client {
20 typedef base::Callback<void(bool auth_ok, 19 typedef base::Callback<void(bool auth_ok,
21 const base::string16& username, 20 const base::string16& username,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 - (void)cancelAuthRequest; 76 - (void)cancelAuthRequest;
78 77
79 // If |underlyingClient| is not nil, the protocol is responsible for calling it. 78 // If |underlyingClient| is not nil, the protocol is responsible for calling it.
80 // If the protocol is only listening for network events, it should simply 79 // If the protocol is only listening for network events, it should simply
81 // forward all the calls to the underlying client. 80 // forward all the calls to the underlying client.
82 // Called from the IO thread. 81 // Called from the IO thread.
83 - (void)setUnderlyingClient:(id<CRNNetworkClientProtocol>)underlyingClient; 82 - (void)setUnderlyingClient:(id<CRNNetworkClientProtocol>)underlyingClient;
84 @end 83 @end
85 84
86 #endif // IOS_NET_CLIENTS_CRN_NETWORK_CLIENT_PROTOCOL_H_ 85 #endif // IOS_NET_CLIENTS_CRN_NETWORK_CLIENT_PROTOCOL_H_
OLDNEW
« no previous file with comments | « ios/crnet/sdch_owner_pref_storage.cc ('k') | ios/net/cookies/cookie_store_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698