Chromium Code Reviews| Index: chrome/browser/google_apis/drive_notification_observer.h |
| diff --git a/chrome/browser/google_apis/drive_notification_observer.h b/chrome/browser/google_apis/drive_notification_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0f52188f1e7efd950fd8f35849acdfb016d92221 |
| --- /dev/null |
| +++ b/chrome/browser/google_apis/drive_notification_observer.h |
| @@ -0,0 +1,26 @@ |
| +// 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.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_NOTIFICATION_OBSERVER_H_ |
| +#define CHROME_BROWSER_GOOGLE_APIS_DRIVE_NOTIFICATION_OBSERVER_H_ |
| + |
| +namespace google_apis { |
| + |
| +// Interface for classes which need to know when to check Google Drive for |
| +// updates. |
| +class DriveNotificationObserver { |
| + public: |
| + DriveNotificationObserver() {} |
| + virtual ~DriveNotificationObserver() {} |
| + |
| + // Called when an observer should check Google Drive for updates. |
| + virtual void CheckForUpdates() = 0; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(DriveNotificationObserver); |
| +}; |
| + |
| +} // namespace google_apis |
| + |
| +#endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_NOTIFICATION_OBSERVER_H_ |