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

Side by Side Diff: ios/chrome/browser/net/ios_chrome_network_delegate.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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ 5 #ifndef IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_
6 #define IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ 6 #define IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory>
11
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "components/content_settings/core/browser/cookie_settings.h" 14 #include "components/content_settings/core/browser/cookie_settings.h"
14 #include "net/base/network_delegate_impl.h" 15 #include "net/base/network_delegate_impl.h"
15 16
16 class PrefService; 17 class PrefService;
17 18
18 template <typename T> 19 template <typename T>
19 class PrefMember; 20 class PrefMember;
20 21
21 typedef PrefMember<bool> BooleanPrefMember; 22 typedef PrefMember<bool> BooleanPrefMember;
22 23
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 73
73 scoped_refptr<content_settings::CookieSettings> cookie_settings_; 74 scoped_refptr<content_settings::CookieSettings> cookie_settings_;
74 75
75 // Weak, owned by our owner. 76 // Weak, owned by our owner.
76 BooleanPrefMember* enable_do_not_track_; 77 BooleanPrefMember* enable_do_not_track_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(IOSChromeNetworkDelegate); 79 DISALLOW_COPY_AND_ASSIGN(IOSChromeNetworkDelegate);
79 }; 80 };
80 81
81 #endif // IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_ 82 #endif // IOS_CHROME_BROWSER_NET_IOS_CHROME_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/net/image_fetcher_unittest.mm ('k') | ios/chrome/browser/net/ios_chrome_url_request_context_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698