| 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_CHANGE_LIST_LOADER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 DriveScheduler* scheduler_; // Not owned. | 230 DriveScheduler* scheduler_; // Not owned. |
| 231 DriveWebAppsRegistry* webapps_registry_; // Not owned. | 231 DriveWebAppsRegistry* webapps_registry_; // Not owned. |
| 232 DriveCache* cache_; // Not owned. | 232 DriveCache* cache_; // Not owned. |
| 233 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; | 233 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; |
| 234 ObserverList<ChangeListLoaderObserver> observers_; | 234 ObserverList<ChangeListLoaderObserver> observers_; |
| 235 scoped_ptr<ChangeListProcessor> change_list_processor_; | 235 scoped_ptr<ChangeListProcessor> change_list_processor_; |
| 236 | 236 |
| 237 // Indicates whether there is a feed refreshing server request is in flight. | 237 // Indicates whether there is a feed refreshing server request is in flight. |
| 238 bool refreshing_; | 238 bool refreshing_; |
| 239 | 239 |
| 240 // Resource ID for the user's "My Drive" root. This must be retrieved from |
| 241 // the server. |
| 242 std::string drive_root_resource_id_; |
| 243 |
| 240 // Note: This should remain the last member so it'll be destroyed and | 244 // Note: This should remain the last member so it'll be destroyed and |
| 241 // invalidate its weak pointers before any other members are destroyed. | 245 // invalidate its weak pointers before any other members are destroyed. |
| 242 base::WeakPtrFactory<ChangeListLoader> weak_ptr_factory_; | 246 base::WeakPtrFactory<ChangeListLoader> weak_ptr_factory_; |
| 243 DISALLOW_COPY_AND_ASSIGN(ChangeListLoader); | 247 DISALLOW_COPY_AND_ASSIGN(ChangeListLoader); |
| 244 }; | 248 }; |
| 245 | 249 |
| 246 } // namespace drive | 250 } // namespace drive |
| 247 | 251 |
| 248 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ | 252 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_H_ |
| OLD | NEW |