OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 // | |
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 | |
7 // do with the drive (ex. open the file manager, or open some other app). | |
8 | |
9 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_ACTION_CHOICE_DIALOG_H_ | |
10 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_ACTION_CHOICE_DIALOG_H_ | |
11 | |
12 namespace base { | |
13 class FilePath; | |
14 } | |
15 | |
16 namespace file_manager { | |
17 namespace util { | |
18 | |
19 // Opens an action choice dialog for a removable drive. | |
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. | |
22 void OpenActionChoiceDialog(const base::FilePath& file_path, | |
23 bool advanced_mode); | |
24 | |
25 } // namespace util | |
26 } // namespace file_manager | |
27 | |
28 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_ACTION_CHOICE_DIALOG_
H_ | |
OLD | NEW |