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

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

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
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/macros.h" 8 #include "base/macros.h"
9 #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" 10 #include "components/prefs/pref_change_registrar.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // Called when navigation corrections are enabled or disabled. 45 // Called when navigation corrections are enabled or disabled.
46 void OnEnabledChanged(); 46 void OnEnabledChanged();
47 47
48 // Updates the renderer's navigation correction service configuration. 48 // Updates the renderer's navigation correction service configuration.
49 void UpdateNavigationCorrectionInfo( 49 void UpdateNavigationCorrectionInfo(
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 std::unique_ptr<GoogleURLTracker::Subscription>
55 google_url_updated_subscription_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(NavigationCorrectionTabObserver); 57 DISALLOW_COPY_AND_ASSIGN(NavigationCorrectionTabObserver);
57 }; 58 };
58 59
59 #endif // CHROME_BROWSER_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_ 60 #endif // CHROME_BROWSER_UI_NAVIGATION_CORRECTION_TAB_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/native_window_tracker_browsertest.cc ('k') | chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698