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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_private_api.h

Issue 10834115: Drive: Mount/Unmount GoogleDrive on Files App when the file system is mounted/unmounted. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
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_;
satorux1 2012/08/03 17:28:56 I think we don't need this. We don't need this. Ex
yoshiki 2012/08/03 18:15:08 Done.
};
// Unmounts selected device. Expects mount point path as an argument.

Powered by Google App Engine
This is Rietveld 408576698