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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_file_system.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: Remove unused methods in mock_gdata_file_system.h 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 unified diff | Download patch
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_GDATA_GDATA_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 virtual ~GDataFileSystem(); 201 virtual ~GDataFileSystem();
202 202
203 // GDataFileSystem overrides. 203 // GDataFileSystem overrides.
204 virtual void Initialize() OVERRIDE; 204 virtual void Initialize() OVERRIDE;
205 virtual void AddObserver( 205 virtual void AddObserver(
206 GDataFileSystemInterface::Observer* observer) OVERRIDE; 206 GDataFileSystemInterface::Observer* observer) OVERRIDE;
207 virtual void RemoveObserver( 207 virtual void RemoveObserver(
208 GDataFileSystemInterface::Observer* observer) OVERRIDE; 208 GDataFileSystemInterface::Observer* observer) OVERRIDE;
209 virtual void StartUpdates() OVERRIDE; 209 virtual void StartUpdates() OVERRIDE;
210 virtual void StopUpdates() OVERRIDE; 210 virtual void StopUpdates() OVERRIDE;
211 virtual void NotifyFileSystemMounted() OVERRIDE;
212 virtual void NotifyFileSystemToBeUnmounted() OVERRIDE;
211 virtual void CheckForUpdates() OVERRIDE; 213 virtual void CheckForUpdates() OVERRIDE;
212 virtual void GetEntryInfoByResourceId( 214 virtual void GetEntryInfoByResourceId(
213 const std::string& resource_id, 215 const std::string& resource_id,
214 const GetEntryInfoWithFilePathCallback& callback) OVERRIDE; 216 const GetEntryInfoWithFilePathCallback& callback) OVERRIDE;
215 virtual void Search(const std::string& search_query, 217 virtual void Search(const std::string& search_query,
216 const SearchCallback& callback) OVERRIDE; 218 const SearchCallback& callback) OVERRIDE;
217 virtual void TransferFileFromRemoteToLocal( 219 virtual void TransferFileFromRemoteToLocal(
218 const FilePath& remote_src_file_path, 220 const FilePath& remote_src_file_path,
219 const FilePath& local_dest_file_path, 221 const FilePath& local_dest_file_path,
220 const FileOperationCallback& callback) OVERRIDE; 222 const FileOperationCallback& callback) OVERRIDE;
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 // invalidate the weak pointers before any other members are destroyed. 965 // invalidate the weak pointers before any other members are destroyed.
964 base::WeakPtrFactory<GDataFileSystem> ui_weak_ptr_factory_; 966 base::WeakPtrFactory<GDataFileSystem> ui_weak_ptr_factory_;
965 // Unlike other classes, we need this as we need this to redirect a task 967 // Unlike other classes, we need this as we need this to redirect a task
966 // from IO thread to UI thread. 968 // from IO thread to UI thread.
967 base::WeakPtr<GDataFileSystem> ui_weak_ptr_; 969 base::WeakPtr<GDataFileSystem> ui_weak_ptr_;
968 }; 970 };
969 971
970 } // namespace gdata 972 } // namespace gdata
971 973
972 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 974 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/file_browser_private_api.cc ('k') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698