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

Side by Side Diff: ios/chrome/browser/safe_browsing/ui_manager.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: 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 // The Safe Browsing service is responsible for downloading anti-phishing and 5 // The Safe Browsing service is responsible for downloading anti-phishing and
6 // anti-malware tables and checking urls against them. 6 // anti-malware tables and checking urls against them.
7 7
8 #ifndef IOS_CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ 8 #ifndef IOS_CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_
9 #define IOS_CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ 9 #define IOS_CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_
10 10
11 #include <memory>
11 #include <string> 12 #include <string>
12 #include <vector> 13 #include <vector>
13 14
14 #include "base/callback.h" 15 #include "base/callback.h"
15 #include "base/macros.h" 16 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
17 #include "base/memory/scoped_ptr.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/observer_list.h" 19 #include "base/observer_list.h"
20 #include "base/time/time.h" 20 #include "base/time/time.h"
21 #include "ios/chrome/browser/safe_browsing/hit_report.h" 21 #include "ios/chrome/browser/safe_browsing/hit_report.h"
22 #include "ios/chrome/browser/safe_browsing/util.h" 22 #include "ios/chrome/browser/safe_browsing/util.h"
23 #include "url/gurl.h" 23 #include "url/gurl.h"
24 24
25 namespace base { 25 namespace base {
26 class Thread; 26 class Thread;
27 } // namespace base 27 } // namespace base
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 scoped_refptr<SafeBrowsingService> sb_service_; 155 scoped_refptr<SafeBrowsingService> sb_service_;
156 156
157 base::ObserverList<Observer> observer_list_; 157 base::ObserverList<Observer> observer_list_;
158 158
159 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager); 159 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager);
160 }; 160 };
161 161
162 } // namespace safe_browsing 162 } // namespace safe_browsing
163 163
164 #endif // IOS_CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ 164 #endif // IOS_CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698