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

Side by Side Diff: chrome/browser/ui/user_data_dir_dialog.h

Issue 123693003: Revise user-data-dir switch handling; avoid crashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_
6 #define CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_
7
8 namespace base {
9 class FilePath;
10 }
11
12 namespace chrome {
13
14 // Shows a user data directory picker dialog. The method blocks while the dialog
15 // is showing. If the user picks a directory, this method returns the chosen
16 // directory. |user_data_dir| is the value of the directory we were not able to
17 // use.
18 base::FilePath ShowUserDataDirDialog(const base::FilePath& user_data_dir);
19
20 } // namespace chrome
21
22 #endif // CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698