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

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

Issue 352393002: Be explicit about target type in platform_util::OpenItem() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Catch up with changes to JSONStringValueSerializer and address CrOS comment Created 5 years, 9 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/fileapi_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 File API related utilities. 5 // This file provides File API related utilities.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_
8 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ 8 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 const GURL& origin, 144 const GURL& origin,
145 const SelectedFileInfoList& selected_info_list, 145 const SelectedFileInfoList& selected_info_list,
146 const FileChooserFileInfoListCallback& callback); 146 const FileChooserFileInfoListCallback& callback);
147 147
148 // Checks if a directory exists at |url|. 148 // Checks if a directory exists at |url|.
149 void CheckIfDirectoryExists( 149 void CheckIfDirectoryExists(
150 scoped_refptr<storage::FileSystemContext> file_system_context, 150 scoped_refptr<storage::FileSystemContext> file_system_context,
151 const GURL& url, 151 const GURL& url,
152 const storage::FileSystemOperationRunner::StatusCallback& callback); 152 const storage::FileSystemOperationRunner::StatusCallback& callback);
153 153
154 // Get metadata for object at |url|.
155 void GetMetadataForPath(
156 scoped_refptr<storage::FileSystemContext> file_system_context,
157 const GURL& url,
158 const storage::FileSystemOperationRunner::GetMetadataCallback& callback);
159
154 // Obtains isolated file system URL from |virtual_path| pointing a file in the 160 // Obtains isolated file system URL from |virtual_path| pointing a file in the
155 // external file system. 161 // external file system.
156 storage::FileSystemURL CreateIsolatedURLFromVirtualPath( 162 storage::FileSystemURL CreateIsolatedURLFromVirtualPath(
157 const storage::FileSystemContext& context, 163 const storage::FileSystemContext& context,
158 const GURL& origin, 164 const GURL& origin,
159 const base::FilePath& virtual_path); 165 const base::FilePath& virtual_path);
160 166
161 } // namespace util 167 } // namespace util
162 } // namespace file_manager 168 } // namespace file_manager
163 169
164 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ 170 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/file_manager/fileapi_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698