| Index: chrome/browser/chromeos/extensions/file_browser_private_api.h
|
| diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.h b/chrome/browser/chromeos/extensions/file_browser_private_api.h
|
| index 9b175fdd009d5cd3ae27ae8abe022b5b58e9dfb2..d86aace929cc71f4c1908f408a176f7a621c88fe 100644
|
| --- a/chrome/browser/chromeos/extensions/file_browser_private_api.h
|
| +++ b/chrome/browser/chromeos/extensions/file_browser_private_api.h
|
| @@ -276,11 +276,6 @@ class AddMountFunction : public FileBrowserFunction {
|
| virtual bool RunImpl() OVERRIDE;
|
|
|
| private:
|
| - // Sends gdata mount event to renderers.
|
| - void RaiseGDataMountEvent(gdata::GDataErrorCode error);
|
| - // A callback method to handle the result of GData authentication request.
|
| - void OnGDataAuthentication(gdata::GDataErrorCode error,
|
| - const std::string& token);
|
| // A callback method to handle the result of
|
| // GetLocalPathsOnFileThreadAndRunCallbackOnUIThread.
|
| void GetLocalPathsResponseOnUIThread(const std::string& mount_type_str,
|
| @@ -290,6 +285,8 @@ class AddMountFunction : public FileBrowserFunction {
|
| const FilePath::StringType& file_name,
|
| gdata::GDataFileError error,
|
| const FilePath& file_path);
|
| +
|
| + base::WeakPtrFactory<AddMountFunction> weak_ptr_factory_;
|
| };
|
|
|
| // Unmounts selected device. Expects mount point path as an argument.
|
|
|