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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h

Issue 23903016: file_manager: Rename root_path to root_url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 3 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/extensions/file_manager/private_api_file_system.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 system related API functions. 5 // This file provides file system related API functions.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYSTEM_ H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYSTEM_ H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYSTEM_ H_ 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYSTEM_ H_
9 9
10 #include <string> 10 #include <string>
(...skipping 24 matching lines...) Expand all
35 FileBrowserPrivateRequestFileSystemFunction(); 35 FileBrowserPrivateRequestFileSystemFunction();
36 36
37 protected: 37 protected:
38 virtual ~FileBrowserPrivateRequestFileSystemFunction(); 38 virtual ~FileBrowserPrivateRequestFileSystemFunction();
39 39
40 // AsyncExtensionFunction overrides. 40 // AsyncExtensionFunction overrides.
41 virtual bool RunImpl() OVERRIDE; 41 virtual bool RunImpl() OVERRIDE;
42 42
43 private: 43 private:
44 void RespondSuccessOnUIThread(const std::string& name, 44 void RespondSuccessOnUIThread(const std::string& name,
45 const GURL& root_path); 45 const GURL& root_url);
46 void RespondFailedOnUIThread(base::PlatformFileError error_code); 46 void RespondFailedOnUIThread(base::PlatformFileError error_code);
47 47
48 // Called when FileSystemContext::OpenFileSystem() is done. 48 // Called when FileSystemContext::OpenFileSystem() is done.
49 void DidOpenFileSystem( 49 void DidOpenFileSystem(
50 scoped_refptr<fileapi::FileSystemContext> file_system_context, 50 scoped_refptr<fileapi::FileSystemContext> file_system_context,
51 base::PlatformFileError result, 51 base::PlatformFileError result,
52 const std::string& name, 52 const std::string& name,
53 const GURL& root_path); 53 const GURL& root_url);
54 54
55 // Called when something goes wrong. Records the error to |error_| per the 55 // Called when something goes wrong. Records the error to |error_| per the
56 // error code and reports that the private API function failed. 56 // error code and reports that the private API function failed.
57 void DidFail(base::PlatformFileError error_code); 57 void DidFail(base::PlatformFileError error_code);
58 58
59 // Sets up file system access permissions to the extension identified by 59 // Sets up file system access permissions to the extension identified by
60 // |child_id|. 60 // |child_id|.
61 bool SetupFileSystemAccessPermissions( 61 bool SetupFileSystemAccessPermissions(
62 scoped_refptr<fileapi::FileSystemContext> file_system_context, 62 scoped_refptr<fileapi::FileSystemContext> file_system_context,
63 int child_id, 63 int child_id,
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 protected: 248 protected:
249 virtual ~FileBrowserPrivateCancelCopyFunction(); 249 virtual ~FileBrowserPrivateCancelCopyFunction();
250 250
251 // AsyncExtensionFunction overrides. 251 // AsyncExtensionFunction overrides.
252 virtual bool RunImpl() OVERRIDE; 252 virtual bool RunImpl() OVERRIDE;
253 }; 253 };
254 254
255 } // namespace extensions 255 } // namespace extensions
256 256
257 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYST EM_H_ 257 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYST EM_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698