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

Unified Diff: chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.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/chrome_to_mobile_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm b/chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm
index f8de658e935ae416f6d1f0ba393dee356f672cd8..61eb57a9809c6ba14f043edb9e37995b0e861a76 100644
--- a/chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/chrome_to_mobile_bubble_controller.mm
@@ -165,9 +165,6 @@ void ChromeToMobileBubbleNotificationBridge::OnSendComplete(bool success) {
// Generate the MHTML snapshot now to report its size in the bubble.
service_->GenerateSnapshot(browser_, bridge_->AsWeakPtr());
- // Request a mobile device list update.
- service_->RequestMobileListUpdate();
-
[super showWindow:sender];
}
@@ -187,7 +184,7 @@ void ChromeToMobileBubbleNotificationBridge::OnSendComplete(bool success) {
const DictionaryValue* mobile = NULL;
if (mobiles->GetDictionary(selected_index, &mobile)) {
- service_->SendToMobile(*mobile,
+ service_->SendToMobile(mobile,
([sendCopy_ state] == NSOnState) ? snapshotPath_ : FilePath(),
browser_, bridge_->AsWeakPtr());
} else {

Powered by Google App Engine
This is Rietveld 408576698