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

Side by Side Diff: chrome/browser/google_apis/drive_notification_observer.h

Issue 13940004: Added new DriveNotificationObserver interface which all observers of Google Drive invalidations sho… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
tzik 2013/04/09 08:31:34 s/2012/2013/
calvinlo 2013/04/09 08:44:20 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_NOTIFICATION_OBSERVER_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_NOTIFICATION_OBSERVER_H_
7
8 namespace google_apis {
9
10 // Interface for classes which need to know when to check Google Drive for
11 // updates.
12 class DriveNotificationObserver {
13 public:
14 DriveNotificationObserver() {}
15 virtual ~DriveNotificationObserver() {}
16
17 // Called when an observer should check Google Drive for updates.
18 virtual void CheckForUpdates() = 0;
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(DriveNotificationObserver);
22 };
23
24 } // namespace google_apis
25
26 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_NOTIFICATION_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698