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 URL-related utilities. | 5 // This file provides URL-related utilities. |
6 | 6 |
7 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_URL_UTIL_H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_URL_UTIL_H_ |
8 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_URL_UTIL_H_ | 8 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_URL_UTIL_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 13 matching lines...) Expand all Loading... |
24 // chrome-extension://<app-id>/. | 24 // chrome-extension://<app-id>/. |
25 GURL GetFileManagerBaseUrl(); | 25 GURL GetFileManagerBaseUrl(); |
26 | 26 |
27 // Returns the file manager's main page URL. | 27 // Returns the file manager's main page URL. |
28 GURL GetFileManagerMainPageUrl(); | 28 GURL GetFileManagerMainPageUrl(); |
29 | 29 |
30 // Returns the file manager's main page URL with parameters encoded as JSON | 30 // Returns the file manager's main page URL with parameters encoded as JSON |
31 // in the query string section. |file_types| is optional. | 31 // in the query string section. |file_types| is optional. |
32 GURL GetFileManagerMainPageUrlWithParams( | 32 GURL GetFileManagerMainPageUrlWithParams( |
33 ui::SelectFileDialog::Type type, | 33 ui::SelectFileDialog::Type type, |
34 const string16& title, | 34 const base::string16& title, |
35 const base::FilePath& default_virtual_path, | 35 const base::FilePath& default_virtual_path, |
36 const ui::SelectFileDialog::FileTypeInfo* file_types, | 36 const ui::SelectFileDialog::FileTypeInfo* file_types, |
37 int file_type_index, | 37 int file_type_index, |
38 const base::FilePath::StringType& default_extension); | 38 const base::FilePath::StringType& default_extension); |
39 | 39 |
40 } // namespace util | 40 } // namespace util |
41 } // namespace file_manager | 41 } // namespace file_manager |
42 | 42 |
43 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_URL_UTIL_H_ | 43 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_URL_UTIL_H_ |
OLD | NEW |