OLD | NEW |
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_FEED_LOADER_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FEED_LOADER_OBSERVER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FEED_LOADER_OBSERVER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FEED_LOADER_OBSERVER_H_ |
7 | 7 |
8 #include <string> | |
9 | |
10 namespace base { | 8 namespace base { |
11 class FilePath; | 9 class FilePath; |
12 } | 10 } |
13 | 11 |
14 namespace drive { | 12 namespace drive { |
15 | 13 |
16 // Interface for classes that need to observe events from DriveFeedLoader. | 14 // Interface for classes that need to observe events from DriveFeedLoader. |
17 // All events are notified on UI thread. | 15 // All events are notified on UI thread. |
18 class DriveFeedLoaderObserver { | 16 class DriveFeedLoaderObserver { |
19 public: | 17 public: |
(...skipping 12 matching lines...) Expand all Loading... |
32 virtual void OnFeedFromServerLoaded() { | 30 virtual void OnFeedFromServerLoaded() { |
33 } | 31 } |
34 | 32 |
35 protected: | 33 protected: |
36 virtual ~DriveFeedLoaderObserver() {} | 34 virtual ~DriveFeedLoaderObserver() {} |
37 }; | 35 }; |
38 | 36 |
39 } // namespace drive | 37 } // namespace drive |
40 | 38 |
41 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FEED_LOADER_OBSERVER_H_ | 39 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FEED_LOADER_OBSERVER_H_ |
OLD | NEW |