OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_ |
6 #define CHROME_BROWSER_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_ | 6 #define CHROME_BROWSER_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/prefs/pref_change_registrar.h" | |
10 #include "components/google/core/browser/google_url_tracker.h" | 9 #include "components/google/core/browser/google_url_tracker.h" |
| 10 #include "components/prefs/pref_change_registrar.h" |
11 #include "content/public/browser/web_contents_observer.h" | 11 #include "content/public/browser/web_contents_observer.h" |
12 #include "content/public/browser/web_contents_user_data.h" | 12 #include "content/public/browser/web_contents_user_data.h" |
13 | 13 |
14 class Profile; | 14 class Profile; |
15 | 15 |
16 namespace user_prefs { | 16 namespace user_prefs { |
17 class PrefRegistrySyncable; | 17 class PrefRegistrySyncable; |
18 } | 18 } |
19 | 19 |
20 // Per-tab class to implement navigation suggestion service functionality. | 20 // Per-tab class to implement navigation suggestion service functionality. |
(...skipping 29 matching lines...) Expand all Loading... |
50 content::RenderFrameHost* render_frame_host); | 50 content::RenderFrameHost* render_frame_host); |
51 | 51 |
52 Profile* profile_; | 52 Profile* profile_; |
53 PrefChangeRegistrar pref_change_registrar_; | 53 PrefChangeRegistrar pref_change_registrar_; |
54 scoped_ptr<GoogleURLTracker::Subscription> google_url_updated_subscription_; | 54 scoped_ptr<GoogleURLTracker::Subscription> google_url_updated_subscription_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(NavigationCorrectionTabObserver); | 56 DISALLOW_COPY_AND_ASSIGN(NavigationCorrectionTabObserver); |
57 }; | 57 }; |
58 | 58 |
59 #endif // CHROME_BROWSER_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_ | 59 #endif // CHROME_BROWSER_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_ |
OLD | NEW |