OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RLZ_CHROME_RLZ_TRACKER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_RLZ_CHROME_RLZ_TRACKER_DELEGATE_H_ |
6 #define CHROME_BROWSER_RLZ_CHROME_RLZ_TRACKER_DELEGATE_H_ | 6 #define CHROME_BROWSER_RLZ_CHROME_RLZ_TRACKER_DELEGATE_H_ |
7 | 7 |
8 #include "base/callback_list.h" | 8 #include "base/callback.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "components/rlz/rlz_tracker_delegate.h" | 10 #include "components/rlz/rlz_tracker_delegate.h" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
13 | 13 |
14 class Profile; | 14 class Profile; |
15 | 15 |
16 // ChromeRLZTrackerDelegate implements RLZTrackerDelegate abstract interface | 16 // ChromeRLZTrackerDelegate implements RLZTrackerDelegate abstract interface |
17 // and provides access to Chrome features. | 17 // and provides access to Chrome features. |
18 class ChromeRLZTrackerDelegate : public rlz::RLZTrackerDelegate, | 18 class ChromeRLZTrackerDelegate : public rlz::RLZTrackerDelegate, |
(...skipping 28 matching lines...) Expand all Loading... |
47 const content::NotificationDetails& details) override; | 47 const content::NotificationDetails& details) override; |
48 | 48 |
49 content::NotificationRegistrar registrar_; | 49 content::NotificationRegistrar registrar_; |
50 base::Closure on_omnibox_search_callback_; | 50 base::Closure on_omnibox_search_callback_; |
51 base::Closure on_homepage_search_callback_; | 51 base::Closure on_homepage_search_callback_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(ChromeRLZTrackerDelegate); | 53 DISALLOW_COPY_AND_ASSIGN(ChromeRLZTrackerDelegate); |
54 }; | 54 }; |
55 | 55 |
56 #endif // CHROME_BROWSER_RLZ_CHROME_RLZ_TRACKER_DELEGATE_H_ | 56 #endif // CHROME_BROWSER_RLZ_CHROME_RLZ_TRACKER_DELEGATE_H_ |
OLD | NEW |