OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_UI_USER_DATA_DIR_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_ |
6 #define CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_ |
7 | 7 |
| 8 namespace base { |
8 class FilePath; | 9 class FilePath; |
| 10 } |
9 | 11 |
10 namespace chrome { | 12 namespace chrome { |
11 | 13 |
12 // Shows a user data directory picker dialog. The method blocks while the dialog | 14 // Shows a user data directory picker dialog. The method blocks while the dialog |
13 // is showing. If the user picks a directory, this method returns the chosen | 15 // is showing. If the user picks a directory, this method returns the chosen |
14 // directory. |user_data_dir| is the value of the directory we were not able to | 16 // directory. |user_data_dir| is the value of the directory we were not able to |
15 // use. | 17 // use. |
16 FilePath ShowUserDataDirDialog(const FilePath& user_data_dir); | 18 base::FilePath ShowUserDataDirDialog(const base::FilePath& user_data_dir); |
17 | 19 |
18 } // namespace chrome | 20 } // namespace chrome |
19 | 21 |
20 #endif // CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_ | 22 #endif // CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_ |
OLD | NEW |