| 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 // This file provides functions for opening an item (file or directory) using | 5 // This file provides functions for opening an item (file or directory) using |
| 6 // the file manager. | 6 // the file manager. |
| 7 | 7 |
| 8 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_OPEN_UTIL_H_ | 8 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_OPEN_UTIL_H_ |
| 9 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_OPEN_UTIL_H_ | 9 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_OPEN_UTIL_H_ |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 class FilePath; | 12 class FilePath; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace file_manager { | 15 namespace file_manager { |
| 16 namespace util { | 16 namespace util { |
| 17 | 17 |
| 18 // Opens the file manager for the freshly mounted removable drive specified | 18 // Opens the file manager for the freshly mounted removable drive specified |
| 19 // by |file_path|. | 19 // by |file_path|. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 32 // handlers, if defined for the type of the target file. | 32 // handlers, if defined for the type of the target file. |
| 33 void OpenItem(const base::FilePath& file_path); | 33 void OpenItem(const base::FilePath& file_path); |
| 34 | 34 |
| 35 // Opens the file manager for the folder containing the item specified by | 35 // Opens the file manager for the folder containing the item specified by |
| 36 // |file_path|, with the item selected. | 36 // |file_path|, with the item selected. |
| 37 void ShowItemInFolder(const base::FilePath& file_path); | 37 void ShowItemInFolder(const base::FilePath& file_path); |
| 38 | 38 |
| 39 } // namespace util | 39 } // namespace util |
| 40 } // namespace file_manager | 40 } // namespace file_manager |
| 41 | 41 |
| 42 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_OPEN_UTIL_H_ | 42 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_OPEN_UTIL_H_ |
| OLD | NEW |