| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 class FilePath; | 9 class FilePath; |
| 10 | 10 |
| 11 namespace browser { | 11 namespace chrome { |
| 12 | 12 |
| 13 // Shows a user data directory picker dialog. The method blocks while the dialog | 13 // Shows a user data directory picker dialog. The method blocks while the dialog |
| 14 // is showing. If the user picks a directory, this method returns the chosen | 14 // is showing. If the user picks a directory, this method returns the chosen |
| 15 // directory. |user_data_dir| is the value of the directory we were not able to | 15 // directory. |user_data_dir| is the value of the directory we were not able to |
| 16 // use. | 16 // use. |
| 17 FilePath ShowUserDataDirDialog(const FilePath& user_data_dir); | 17 FilePath ShowUserDataDirDialog(const FilePath& user_data_dir); |
| 18 | 18 |
| 19 } // namespace browser | 19 } // namespace chrome |
| 20 | 20 |
| 21 #endif // CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_ | 21 #endif // CHROME_BROWSER_UI_USER_DATA_DIR_DIALOG_H_ |
| OLD | NEW |