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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.cc

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/gtk/location_bar_view_gtk.cc
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
index bc9d559561ca7632f7c838634c8100c412b354c4..d436e30ccc526913426a08a3f03999db35f0d317 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
@@ -559,7 +559,7 @@ void LocationBarViewGtk::Init(bool popup_window_mode) {
CreateStarButton();
gtk_box_pack_end(GTK_BOX(hbox_.get()), star_.get(), FALSE, FALSE, 0);
- // Also disable Chrome To Mobile for off-the-record and non-synced profiles,
+ // Disable Chrome To Mobile for off-the-record and non-synced profiles,
// or if the feature is disabled by a command line flag or chrome://flags.
if (!profile->IsOffTheRecord() && profile->IsSyncAccessible() &&
ChromeToMobileService::IsChromeToMobileEnabled()) {
@@ -567,8 +567,7 @@ void LocationBarViewGtk::Init(bool popup_window_mode) {
gtk_box_pack_end(GTK_BOX(hbox_.get()), chrome_to_mobile_view_.get(),
FALSE, FALSE, 0);
command_updater_->AddCommandObserver(IDC_CHROME_TO_MOBILE_PAGE, this);
- ChromeToMobileServiceFactory::GetForProfile(browser_->profile())->
- RequestMobileListUpdate();
+ UpdateChromeToMobileIcon();
}
}
« no previous file with comments | « chrome/browser/ui/gtk/chrome_to_mobile_bubble_gtk.cc ('k') | chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698