| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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_GOOGLE_GOOGLE_SEARCH_COUNTER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_SEARCH_COUNTER_ANDROID_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_GOOGLE_SEARCH_COUNTER_ANDROID_H_ | 6 #define CHROME_BROWSER_GOOGLE_GOOGLE_SEARCH_COUNTER_ANDROID_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "content/public/browser/notification_observer.h" | 9 #include "content/public/browser/notification_observer.h" |
| 10 #include "content/public/browser/notification_registrar.h" | 10 #include "content/public/browser/notification_registrar.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 friend class GoogleSearchCounterAndroidTest; | 23 friend class GoogleSearchCounterAndroidTest; |
| 24 | 24 |
| 25 void ProcessCommittedEntry(const content::NotificationSource& source, | 25 void ProcessCommittedEntry(const content::NotificationSource& source, |
| 26 const content::NotificationDetails& details); | 26 const content::NotificationDetails& details); |
| 27 | 27 |
| 28 // content::NotificationObserver: | 28 // content::NotificationObserver: |
| 29 virtual void Observe(int type, | 29 virtual void Observe(int type, |
| 30 const content::NotificationSource& source, | 30 const content::NotificationSource& source, |
| 31 const content::NotificationDetails& details) OVERRIDE; | 31 const content::NotificationDetails& details) override; |
| 32 | 32 |
| 33 Profile* profile_; | 33 Profile* profile_; |
| 34 content::NotificationRegistrar registrar_; | 34 content::NotificationRegistrar registrar_; |
| 35 | 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(GoogleSearchCounterAndroid); | 36 DISALLOW_COPY_AND_ASSIGN(GoogleSearchCounterAndroid); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_SEARCH_COUNTER_ANDROID_H_ | 39 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_SEARCH_COUNTER_ANDROID_H_ |
| OLD | NEW |