| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // This file provides the action choice dialog. The dialog is shown when an | 5 // This file provides the action choice dialog. The dialog is shown when an |
| 6 // removable drive, such as an SD card, is inserted, to ask the user what to | 6 // removable drive, such as an SD card, is inserted, to ask the user what to |
| 7 // do with the drive (ex. open the file manager, or open some other app). | 7 // do with the drive (ex. open the file manager, or open some other app). |
| 8 | 8 |
| 9 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_ACTION_CHOICE_DIALOG_H_ | 9 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_ACTION_CHOICE_DIALOG_H_ |
| 10 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_ACTION_CHOICE_DIALOG_H_ | 10 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_ACTION_CHOICE_DIALOG_H_ |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 class FilePath; | 13 class FilePath; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace file_manager { | 16 namespace file_manager { |
| 17 namespace util { | 17 namespace util { |
| 18 | 18 |
| 19 // Opens an action choice dialog for a removable drive. | 19 // Opens an action choice dialog for a removable drive. |
| 20 // One of the actions is opening the File Manager. Passes |advanced_mode| | 20 // One of the actions is opening the File Manager. Passes |advanced_mode| |
| 21 // flag to the dialog. If it is enabled, then auto-choice gets disabled. | 21 // flag to the dialog. If it is enabled, then auto-choice gets disabled. |
| 22 void OpenActionChoiceDialog(const base::FilePath& file_path, | 22 void OpenActionChoiceDialog(const base::FilePath& file_path, |
| 23 bool advanced_mode); | 23 bool advanced_mode); |
| 24 | 24 |
| 25 } // namespace util | 25 } // namespace util |
| 26 } // namespace file_manager | 26 } // namespace file_manager |
| 27 | 27 |
| 28 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_ACTION_CHOICE_DIALOG_
H_ | 28 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_ACTION_CHOICE_DIALOG_H_ |
| OLD | NEW |