Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: chrome/browser/ui/navigation_correction_tab_observer.h

Issue 316203003: Componentize GoogleURLTracker(InfoBarDelegate,MapEntry,NavHelper) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/browser/ui/omnibox/omnibox_edit_model.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/prefs/pref_change_registrar.h" 8 #include "base/prefs/pref_change_registrar.h"
9 #include "chrome/browser/google/google_url_tracker.h" 9 #include "components/google/core/browser/google_url_tracker.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
11 #include "content/public/browser/web_contents_user_data.h" 11 #include "content/public/browser/web_contents_user_data.h"
12 12
13 class Profile; 13 class Profile;
14 14
15 namespace user_prefs { 15 namespace user_prefs {
16 class PrefRegistrySyncable; 16 class PrefRegistrySyncable;
17 } 17 }
18 18
19 // Per-tab class to implement navigation suggestion service functionality. 19 // Per-tab class to implement navigation suggestion service functionality.
(...skipping 29 matching lines...) Expand all
49 void UpdateNavigationCorrectionInfo(content::RenderViewHost* rvh); 49 void UpdateNavigationCorrectionInfo(content::RenderViewHost* rvh);
50 50
51 Profile* profile_; 51 Profile* profile_;
52 PrefChangeRegistrar pref_change_registrar_; 52 PrefChangeRegistrar pref_change_registrar_;
53 scoped_ptr<GoogleURLTracker::Subscription> google_url_updated_subscription_; 53 scoped_ptr<GoogleURLTracker::Subscription> google_url_updated_subscription_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(NavigationCorrectionTabObserver); 55 DISALLOW_COPY_AND_ASSIGN(NavigationCorrectionTabObserver);
56 }; 56 };
57 57
58 #endif // CHROME_BROWSER_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_ 58 #endif // CHROME_BROWSER_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/browser/ui/omnibox/omnibox_edit_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698