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

Side by Side Diff: chrome/browser/autofill/risk_util.h

Issue 1857663002: chrome/browser/autofill: scoped_ptr -> 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 #ifndef CHROME_BROWSER_AUTOFILL_RISK_UTIL_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_RISK_UTIL_H_
6 #define CHROME_BROWSER_AUTOFILL_RISK_UTIL_H_ 6 #define CHROME_BROWSER_AUTOFILL_RISK_UTIL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9
10 #include <memory>
Mathieu 2016/04/04 13:15:46 include it in risk_util.cc instead
9 #include <string> 11 #include <string>
10 12
11 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
12 #include "base/memory/scoped_ptr.h"
13 14
14 namespace content { 15 namespace content {
15 class WebContents; 16 class WebContents;
16 } 17 }
17 18
18 namespace autofill { 19 namespace autofill {
19 20
20 void LoadRiskData(uint64_t obfuscated_gaia_id, 21 void LoadRiskData(uint64_t obfuscated_gaia_id,
21 content::WebContents* web_contents, 22 content::WebContents* web_contents,
22 const base::Callback<void(const std::string&)>& callback); 23 const base::Callback<void(const std::string&)>& callback);
23 24
24 } // namespace autofill 25 } // namespace autofill
25 26
26 #endif // CHROME_BROWSER_AUTOFILL_RISK_UTIL_H_ 27 #endif // CHROME_BROWSER_AUTOFILL_RISK_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698