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

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

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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 class FilePath; 10 class FilePath;
11 11
12 namespace gdata { 12 namespace drive {
13 13
14 // Interface for classes that need to observe events from classes implementing 14 // Interface for classes that need to observe events from classes implementing
15 // DriveFileSystemInterface. 15 // DriveFileSystemInterface.
16 // All events are notified on UI thread. 16 // All events are notified on UI thread.
17 class DriveFileSystemObserver { 17 class DriveFileSystemObserver {
18 public: 18 public:
19 // Triggered when a content of a directory has been changed. 19 // Triggered when a content of a directory has been changed.
20 // |directory_path| is a virtual directory path (/drive/...) representing 20 // |directory_path| is a virtual directory path (/drive/...) representing
21 // changed directory. 21 // changed directory.
22 virtual void OnDirectoryChanged(const FilePath& directory_path) { 22 virtual void OnDirectoryChanged(const FilePath& directory_path) {
(...skipping 17 matching lines...) Expand all
40 } 40 }
41 41
42 // Triggered when the file system is being unmounted. 42 // Triggered when the file system is being unmounted.
43 virtual void OnFileSystemBeingUnmounted() { 43 virtual void OnFileSystemBeingUnmounted() {
44 } 44 }
45 45
46 protected: 46 protected:
47 virtual ~DriveFileSystemObserver() {} 47 virtual ~DriveFileSystemObserver() {}
48 }; 48 };
49 49
50 } // namespace gdata 50 } // namespace drive
51 51
52 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_OBSERVER_H_ 52 #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_file_system_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698