| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_ | 5 #ifndef COMPONENTS_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_ | 6 #define COMPONENTS_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| 11 #include "chrome/browser/drive/drive_notification_observer.h" | 11 #include "components/drive/drive_notification_observer.h" |
| 12 #include "components/invalidation/public/invalidation_handler.h" | 12 #include "components/invalidation/public/invalidation_handler.h" |
| 13 #include "components/keyed_service/core/keyed_service.h" | 13 #include "components/keyed_service/core/keyed_service.h" |
| 14 | 14 |
| 15 class ProfileSyncService; | 15 class ProfileSyncService; |
| 16 | 16 |
| 17 namespace invalidation { | 17 namespace invalidation { |
| 18 class InvalidationService; | 18 class InvalidationService; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace drive { | 21 namespace drive { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 // Note: This should remain the last member so it'll be destroyed and | 89 // Note: This should remain the last member so it'll be destroyed and |
| 90 // invalidate its weak pointers before any other members are destroyed. | 90 // invalidate its weak pointers before any other members are destroyed. |
| 91 base::WeakPtrFactory<DriveNotificationManager> weak_ptr_factory_; | 91 base::WeakPtrFactory<DriveNotificationManager> weak_ptr_factory_; |
| 92 | 92 |
| 93 DISALLOW_COPY_AND_ASSIGN(DriveNotificationManager); | 93 DISALLOW_COPY_AND_ASSIGN(DriveNotificationManager); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace drive | 96 } // namespace drive |
| 97 | 97 |
| 98 #endif // CHROME_BROWSER_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_ | 98 #endif // COMPONENTS_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_ |
| OLD | NEW |