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

Side by Side Diff: chrome/browser/chromeos/drive/drive_file_system_observer.h

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 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_DRIVE_DRIVE_FILE_SYSTEM_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_OBSERVER_H_
7 7
8 #include "chrome/browser/chromeos/drive/drive_file_error.h" 8 #include "chrome/browser/chromeos/drive/drive_file_error.h"
9 9
10 namespace base { 10 namespace base {
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 26
27 // Triggered when the file system is initially loaded. 27 // Triggered when the file system is initially loaded.
28 virtual void OnInitialLoadFinished() { 28 virtual void OnInitialLoadFinished() {
29 } 29 }
30 30
31 // Triggered when the feed from the server is loaded. 31 // Triggered when the feed from the server is loaded.
32 virtual void OnFeedFromServerLoaded() { 32 virtual void OnFeedFromServerLoaded() {
33 } 33 }
34 34
35 // Triggered when the file system is mounted.
36 virtual void OnFileSystemMounted() {
37 }
38
39 // Triggered when the file system is being unmounted.
40 virtual void OnFileSystemBeingUnmounted() {
41 }
42
43 protected: 35 protected:
44 virtual ~DriveFileSystemObserver() {} 36 virtual ~DriveFileSystemObserver() {}
45 }; 37 };
46 38
47 } // namespace drive 39 } // namespace drive
48 40
49 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_OBSERVER_H_ 41 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_system_interface.h ('k') | chrome/browser/chromeos/drive/drive_system_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698