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

Side by Side Diff: chrome/browser/drive/drive_notification_manager.h

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (GN) Comment out dependency on internal target Created 6 years, 5 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 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 CHROME_BROWSER_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_
6 #define CHROME_BROWSER_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_ 6 #define CHROME_BROWSER_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 "chrome/browser/drive/drive_notification_observer.h"
12 #include "components/invalidation/invalidation_handler.h"
12 #include "components/keyed_service/core/keyed_service.h" 13 #include "components/keyed_service/core/keyed_service.h"
13 #include "sync/notifier/invalidation_handler.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 {
22 22
23 // Informs observers when they should check Google Drive for updates. 23 // Informs observers when they should check Google Drive for updates.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Note: This should remain the last member so it'll be destroyed and 90 // Note: This should remain the last member so it'll be destroyed and
91 // invalidate its weak pointers before any other members are destroyed. 91 // invalidate its weak pointers before any other members are destroyed.
92 base::WeakPtrFactory<DriveNotificationManager> weak_ptr_factory_; 92 base::WeakPtrFactory<DriveNotificationManager> weak_ptr_factory_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(DriveNotificationManager); 94 DISALLOW_COPY_AND_ASSIGN(DriveNotificationManager);
95 }; 95 };
96 96
97 } // namespace drive 97 } // namespace drive
98 98
99 #endif // CHROME_BROWSER_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_ 99 #endif // CHROME_BROWSER_DRIVE_DRIVE_NOTIFICATION_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/device_cloud_policy_invalidator.cc ('k') | chrome/browser/drive/drive_notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698