Index: chrome/browser/instant/instant_service_observer.h |
diff --git a/chrome/browser/instant/instant_service_observer.h b/chrome/browser/instant/instant_service_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a90e114ad7e65d2dd4bd05be7e869d289ea2a99a |
--- /dev/null |
+++ b/chrome/browser/instant/instant_service_observer.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_INSTANT_INSTANT_SERVICE_OBSERVER_H_ |
+#define CHROME_BROWSER_INSTANT_INSTANT_SERVICE_OBSERVER_H_ |
+ |
+// This class defines the observer interface for InstantService. |
+class InstantServiceObserver { |
+ public: |
+ virtual void InstantStatusChanged() = 0; |
samarth
2013/03/01 17:59:53
Please document each of these.
sreeram
2013/03/07 18:18:46
Done.
|
+ virtual void ThemeInfoChanged() = 0; |
+ virtual void MostVisitedItemsChanged() = 0; |
+ |
+ // For use in tests only. |
samarth
2013/03/01 17:59:53
I've seen an #ifdef UNIT_TEST in other places. Is
sreeram
2013/03/07 18:18:46
Done. Took this out. It was a bad idea to force re
|
+ virtual void InstantSupportDecided() = 0; |
+ |
+ protected: |
+ ~InstantServiceObserver() {} |
+}; |
+ |
+#endif // CHROME_BROWSER_INSTANT_INSTANT_SERVICE_OBSERVER_H_ |