Chromium Code Reviews| Index: chrome/browser/ui/webui/profile_helper.h |
| diff --git a/chrome/browser/ui/webui/profile_helper.h b/chrome/browser/ui/webui/profile_helper.h |
| index da5d67ca30baa51259af50112e95ff7190a6f47c..75bbebaa8b500bee0e66420a3a0b45dded4d1bb5 100644 |
| --- a/chrome/browser/ui/webui/profile_helper.h |
| +++ b/chrome/browser/ui/webui/profile_helper.h |
| @@ -6,6 +6,7 @@ |
| #define CHROME_BROWSER_UI_WEBUI_PROFILE_HELPER_H_ |
| #include "base/files/file_path.h" |
| +#include "chrome/browser/lifetime/scoped_keep_alive.h" |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/profiles/profile_metrics.h" |
| @@ -15,7 +16,9 @@ class WebUI; |
| namespace webui { |
| -void OpenNewWindowForProfile(Profile* profile, Profile::CreateStatus status); |
| +void OpenNewWindowForProfile(const std::unique_ptr<ScopedKeepAlive>& keep_alive, |
|
Bernhard Bauer
2016/11/18 13:31:31
Pass the unique_ptr without the const reference.
|
| + Profile* profile, |
| + Profile::CreateStatus status); |
| // Deletes the profile at the given |file_path|. |
| void DeleteProfileAtPath(base::FilePath file_path, |