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

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

Issue 18344013: fileapi: Rename FileSystemMountProvider to FileSystemBackend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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
OLDNEW
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 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_BROWSER_PRIVATE_API _H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_BROWSER_PRIVATE_API _H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_BROWSER_PRIVATE_API _H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_BROWSER_PRIVATE_API _H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 typedef std::vector<ui::SelectedFileInfo> SelectedFileInfoList; 74 typedef std::vector<ui::SelectedFileInfo> SelectedFileInfoList;
75 typedef base::Callback<void(const SelectedFileInfoList&)> 75 typedef base::Callback<void(const SelectedFileInfoList&)>
76 GetSelectedFileInfoCallback; 76 GetSelectedFileInfoCallback;
77 77
78 virtual ~FileBrowserFunction(); 78 virtual ~FileBrowserFunction();
79 79
80 // Figures out the tab_id of the hosting tab. 80 // Figures out the tab_id of the hosting tab.
81 int32 GetTabId() const; 81 int32 GetTabId() const;
82 82
83 // Returns the local FilePath associated with |url|. If the file isn't of the 83 // Returns the local FilePath associated with |url|. If the file isn't of the
84 // type CrosMountPointProvider handles, returns an empty FilePath. 84 // type FileSystemBackend handles, returns an empty FilePath.
85 // 85 //
86 // Local paths will look like "/home/chronos/user/Downloads/foo/bar.txt" or 86 // Local paths will look like "/home/chronos/user/Downloads/foo/bar.txt" or
87 // "/special/drive/foo/bar.txt". 87 // "/special/drive/foo/bar.txt".
88 base::FilePath GetLocalPathFromURL(const GURL& url); 88 base::FilePath GetLocalPathFromURL(const GURL& url);
89 89
90 // Runs |callback| with SelectedFileInfoList created from |file_urls|. 90 // Runs |callback| with SelectedFileInfoList created from |file_urls|.
91 void GetSelectedFileInfo(const UrlList& file_urls, 91 void GetSelectedFileInfo(const UrlList& file_urls,
92 bool for_opening, 92 bool for_opening,
93 GetSelectedFileInfoCallback callback); 93 GetSelectedFileInfoCallback callback);
94 94
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 public: 786 public:
787 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.zoom", 787 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.zoom",
788 FILEBROWSERPRIVATE_ZOOM); 788 FILEBROWSERPRIVATE_ZOOM);
789 789
790 protected: 790 protected:
791 virtual ~ZoomFunction() {} 791 virtual ~ZoomFunction() {}
792 virtual bool RunImpl() OVERRIDE; 792 virtual bool RunImpl() OVERRIDE;
793 }; 793 };
794 794
795 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_BROWSER_PRIVATE_ API_H_ 795 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_BROWSER_PRIVATE_ API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698