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_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 google_apis::DriveServiceInterface* drive_service, | 59 google_apis::DriveServiceInterface* drive_service, |
60 DriveWebAppsRegistry* webapps_registry, | 60 DriveWebAppsRegistry* webapps_registry, |
61 DriveResourceMetadata* resource_metadata, | 61 DriveResourceMetadata* resource_metadata, |
62 base::SequencedTaskRunner* blocking_task_runner); | 62 base::SequencedTaskRunner* blocking_task_runner); |
63 virtual ~DriveFileSystem(); | 63 virtual ~DriveFileSystem(); |
64 | 64 |
65 // DriveFileSystem overrides. | 65 // DriveFileSystem overrides. |
66 virtual void Initialize() OVERRIDE; | 66 virtual void Initialize() OVERRIDE; |
67 virtual void AddObserver(DriveFileSystemObserver* observer) OVERRIDE; | 67 virtual void AddObserver(DriveFileSystemObserver* observer) OVERRIDE; |
68 virtual void RemoveObserver(DriveFileSystemObserver* observer) OVERRIDE; | 68 virtual void RemoveObserver(DriveFileSystemObserver* observer) OVERRIDE; |
69 virtual void NotifyFileSystemMounted() OVERRIDE; | |
70 virtual void NotifyFileSystemToBeUnmounted() OVERRIDE; | |
71 virtual void CheckForUpdates() OVERRIDE; | 69 virtual void CheckForUpdates() OVERRIDE; |
72 virtual void GetEntryInfoByResourceId( | 70 virtual void GetEntryInfoByResourceId( |
73 const std::string& resource_id, | 71 const std::string& resource_id, |
74 const GetEntryInfoWithFilePathCallback& callback) OVERRIDE; | 72 const GetEntryInfoWithFilePathCallback& callback) OVERRIDE; |
75 virtual void Search(const std::string& search_query, | 73 virtual void Search(const std::string& search_query, |
76 const GURL& next_feed, | 74 const GURL& next_feed, |
77 const SearchCallback& callback) OVERRIDE; | 75 const SearchCallback& callback) OVERRIDE; |
78 virtual void SearchMetadata(const std::string& query, | 76 virtual void SearchMetadata(const std::string& query, |
79 int options, | 77 int options, |
80 int at_most_num_matches, | 78 int at_most_num_matches, |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 // Note: This should remain the last member so it'll be destroyed and | 493 // Note: This should remain the last member so it'll be destroyed and |
496 // invalidate the weak pointers before any other members are destroyed. | 494 // invalidate the weak pointers before any other members are destroyed. |
497 base::WeakPtrFactory<DriveFileSystem> weak_ptr_factory_; | 495 base::WeakPtrFactory<DriveFileSystem> weak_ptr_factory_; |
498 | 496 |
499 DISALLOW_COPY_AND_ASSIGN(DriveFileSystem); | 497 DISALLOW_COPY_AND_ASSIGN(DriveFileSystem); |
500 }; | 498 }; |
501 | 499 |
502 } // namespace drive | 500 } // namespace drive |
503 | 501 |
504 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ | 502 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ |
OLD | NEW |