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

Side by Side Diff: ios/chrome/browser/safe_browsing/protocol_manager_helper.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: Add header 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_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_ 5 #ifndef IOS_CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_
6 #define IOS_CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_ 6 #define IOS_CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_
7 7
8 // A class that provides common functionality for safebrowsing protocol managers 8 // A class that provides common functionality for safebrowsing protocol managers
9 // that communicate with Google servers. 9 // that communicate with Google servers.
10 10
11 #include <memory>
noyau (Ping after 24h) 2016/04/07 13:34:04 I don't see unique_ptr in this file, this include
11 #include <string> 12 #include <string>
12 13
13 #include "base/macros.h" 14 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h"
16 16
17 namespace safe_browsing { 17 namespace safe_browsing {
18 18
19 struct SafeBrowsingProtocolConfig { 19 struct SafeBrowsingProtocolConfig {
20 SafeBrowsingProtocolConfig(); 20 SafeBrowsingProtocolConfig();
21 ~SafeBrowsingProtocolConfig(); 21 ~SafeBrowsingProtocolConfig();
22 std::string client_name; 22 std::string client_name;
23 std::string url_prefix; 23 std::string url_prefix;
24 std::string backup_connect_error_url_prefix; 24 std::string backup_connect_error_url_prefix;
25 std::string backup_http_error_url_prefix; 25 std::string backup_http_error_url_prefix;
(...skipping 25 matching lines...) Expand all
51 const std::string& additional_query, 51 const std::string& additional_query,
52 bool is_extended_reporting); 52 bool is_extended_reporting);
53 53
54 private: 54 private:
55 DISALLOW_IMPLICIT_CONSTRUCTORS(SafeBrowsingProtocolManagerHelper); 55 DISALLOW_IMPLICIT_CONSTRUCTORS(SafeBrowsingProtocolManagerHelper);
56 }; 56 };
57 57
58 } // namespace safe_browsing 58 } // namespace safe_browsing
59 59
60 #endif // IOS_CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_ 60 #endif // IOS_CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698