Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: chrome/browser/chromeos/file_manager/url_util.h

Issue 144783002: Simplify directory initialization in Files app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_manager/url_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 14 matching lines...) Expand all
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 base::string16& title, 34 const base::string16& title,
35 const base::FilePath& default_virtual_path, 35 const base::FilePath& current_directory_virtual_path,
36 const base::FilePath& selection_virtual_path,
36 const ui::SelectFileDialog::FileTypeInfo* file_types, 37 const ui::SelectFileDialog::FileTypeInfo* file_types,
37 int file_type_index, 38 int file_type_index,
38 const base::FilePath::StringType& default_extension); 39 const base::FilePath::StringType& default_extension);
39 40
40 } // namespace util 41 } // namespace util
41 } // namespace file_manager 42 } // namespace file_manager
42 43
43 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_URL_UTIL_H_ 44 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_URL_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_manager/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698