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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Issue 10834203: Integrate invalidation API into ChromeToMobileService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment; sync and rebase. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index ca7c8b53c831de8021c04e8f5ba556f440d2d938..416e9c3e42e295dbe085a750a726fa56b3b97f22 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -117,8 +117,7 @@ LocationBarViewMac::LocationBarViewMac(
command_updater_->AddCommandObserver(IDC_CHROME_TO_MOBILE_PAGE, this);
chrome_to_mobile_decoration_.reset(
new ChromeToMobileDecoration(profile, command_updater));
- ChromeToMobileServiceFactory::GetForProfile(profile)->
- RequestMobileListUpdate();
+ UpdateChromeToMobileEnabled();
}
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableActionBox)) {

Powered by Google App Engine
This is Rietveld 408576698