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

Unified Diff: chrome/browser/chromeos/drive/drive_file_system.cc

Issue 13866050: drive: Introduce DriveSystemServiceObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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/drive/drive_file_system.cc
diff --git a/chrome/browser/chromeos/drive/drive_file_system.cc b/chrome/browser/chromeos/drive/drive_file_system.cc
index b1f7ab54e5f8257c8412d00793e91566d9dc3314..6a602254e7efcebb8242be1b0dc23d4fed8da604 100644
--- a/chrome/browser/chromeos/drive/drive_file_system.cc
+++ b/chrome/browser/chromeos/drive/drive_file_system.cc
@@ -1298,24 +1298,6 @@ void DriveFileSystem::OnInitialFeedLoaded() {
OnInitialLoadFinished());
}
-void DriveFileSystem::NotifyFileSystemMounted() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
-
- DVLOG(1) << "File System is mounted";
- // Notify the observers that the file system is mounted.
- FOR_EACH_OBSERVER(DriveFileSystemObserver, observers_,
- OnFileSystemMounted());
-}
-
-void DriveFileSystem::NotifyFileSystemToBeUnmounted() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
-
- DVLOG(1) << "File System is to be unmounted";
- // Notify the observers that the file system is being unmounted.
- FOR_EACH_OBSERVER(DriveFileSystemObserver, observers_,
- OnFileSystemBeingUnmounted());
-}
-
void DriveFileSystem::AddUploadedFile(
scoped_ptr<google_apis::ResourceEntry> entry,
const base::FilePath& file_content_path,
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_system.h ('k') | chrome/browser/chromeos/drive/drive_file_system_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698