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

Side by Side Diff: chrome/browser/ui/webui/profile_helper.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "chrome/browser/ui/webui/profile_helper.h" 5 #include "chrome/browser/ui/webui/profile_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h"
8 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/lifetime/keep_alive_types.h" 10 #include "chrome/browser/lifetime/keep_alive_types.h"
10 #include "chrome/browser/lifetime/scoped_keep_alive.h" 11 #include "chrome/browser/lifetime/scoped_keep_alive.h"
11 #include "chrome/browser/profiles/profile_manager.h" 12 #include "chrome/browser/profiles/profile_manager.h"
12 #include "chrome/browser/profiles/profile_metrics.h" 13 #include "chrome/browser/profiles/profile_metrics.h"
13 #include "chrome/browser/profiles/profile_window.h" 14 #include "chrome/browser/profiles/profile_window.h"
14 #include "chrome/browser/profiles/profiles_state.h" 15 #include "chrome/browser/profiles/profiles_state.h"
15 #include "chrome/browser/ui/browser_finder.h" 16 #include "chrome/browser/ui/browser_finder.h"
16 #include "chrome/browser/ui/user_manager.h" 17 #include "chrome/browser/ui/user_manager.h"
17 #include "chrome/browser/ui/webui/signin/signin_utils.h" 18 #include "chrome/browser/ui/webui/signin/signin_utils.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 return; 70 return;
70 g_browser_process->profile_manager()->MaybeScheduleProfileForDeletion( 71 g_browser_process->profile_manager()->MaybeScheduleProfileForDeletion(
71 file_path, base::Bind(&DeleteProfileCallback, 72 file_path, base::Bind(&DeleteProfileCallback,
72 base::Passed(base::MakeUnique<ScopedKeepAlive>( 73 base::Passed(base::MakeUnique<ScopedKeepAlive>(
73 KeepAliveOrigin::PROFILE_HELPER, 74 KeepAliveOrigin::PROFILE_HELPER,
74 KeepAliveRestartOption::DISABLED))), 75 KeepAliveRestartOption::DISABLED))),
75 deletion_source); 76 deletion_source);
76 } 77 }
77 78
78 } // namespace webui 79 } // namespace webui
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_handler.cc ('k') | chrome/browser/webshare/share_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698